ALT Linux Bugzilla
– Attachment 497 Details for
Bug 4844
Don't mkdosfs when mounted via submount
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
mkdosfs-check-mount.patch
mkdosfs-check-mount.patch (text/plain), 470 bytes, created by
Sergey V Turchin
on 2004-07-20 14:05:24 MSD
(
hide
)
Description:
mkdosfs-check-mount.patch
Filename:
MIME Type:
Creator:
Sergey V Turchin
Created:
2004-07-20 14:05:24 MSD
Size:
470 bytes
patch
obsolete
>--- dosfstools-2.10/mkdosfs/mkdosfs.c~ 2004-07-20 13:58:43 +0400 >+++ dosfstools-2.10/mkdosfs/mkdosfs.c 2004-07-20 14:02:51 +0400 >@@ -596,7 +596,10 @@ check_mount (char *device_name) > return; > while ((mnt = getmntent (f)) != NULL) > if (strcmp (device_name, mnt->mnt_fsname) == 0) >+ { >+ if ( (strcmp("subfs", mnt->mnt_type) != 0) && (strcmp("supermount", mnt->mnt_type) != 0) ) > die ("%s contains a mounted file system."); >+ } > endmntent (f); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4844
: 497