floppy fstab entry for vfat and ext
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm trying to create an fstab entry for /dev/fd0 so that user can mount a floppy formatted either with VFAT or ext32. The simple fstab entry
/dev/fd0 /mnt/floppy auto noauto,user,sync,gid=users,umask=000 0 2
can only mount DOS floppies. If I change the entry to
/dev/fd0 /mnt/floppy ext2 noauto,user,sync 0 2
then I can only mount a floppy with ext2 filesystem.
Obviously, I can issue a root mount command with appropriate -t option and mount either floppies. Is there a way to mount floppy as user with the simple command
mount /mnt/floppy
for floppies with either VFAT or ext2 filesystem?
linux mount floppy fstab
migrated from stackoverflow.com Oct 11 '17 at 13:45
This question came from our site for professional and enthusiast programmers.
add a comment |Â
up vote
1
down vote
favorite
I'm trying to create an fstab entry for /dev/fd0 so that user can mount a floppy formatted either with VFAT or ext32. The simple fstab entry
/dev/fd0 /mnt/floppy auto noauto,user,sync,gid=users,umask=000 0 2
can only mount DOS floppies. If I change the entry to
/dev/fd0 /mnt/floppy ext2 noauto,user,sync 0 2
then I can only mount a floppy with ext2 filesystem.
Obviously, I can issue a root mount command with appropriate -t option and mount either floppies. Is there a way to mount floppy as user with the simple command
mount /mnt/floppy
for floppies with either VFAT or ext2 filesystem?
linux mount floppy fstab
migrated from stackoverflow.com Oct 11 '17 at 13:45
This question came from our site for professional and enthusiast programmers.
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to create an fstab entry for /dev/fd0 so that user can mount a floppy formatted either with VFAT or ext32. The simple fstab entry
/dev/fd0 /mnt/floppy auto noauto,user,sync,gid=users,umask=000 0 2
can only mount DOS floppies. If I change the entry to
/dev/fd0 /mnt/floppy ext2 noauto,user,sync 0 2
then I can only mount a floppy with ext2 filesystem.
Obviously, I can issue a root mount command with appropriate -t option and mount either floppies. Is there a way to mount floppy as user with the simple command
mount /mnt/floppy
for floppies with either VFAT or ext2 filesystem?
linux mount floppy fstab
I'm trying to create an fstab entry for /dev/fd0 so that user can mount a floppy formatted either with VFAT or ext32. The simple fstab entry
/dev/fd0 /mnt/floppy auto noauto,user,sync,gid=users,umask=000 0 2
can only mount DOS floppies. If I change the entry to
/dev/fd0 /mnt/floppy ext2 noauto,user,sync 0 2
then I can only mount a floppy with ext2 filesystem.
Obviously, I can issue a root mount command with appropriate -t option and mount either floppies. Is there a way to mount floppy as user with the simple command
mount /mnt/floppy
for floppies with either VFAT or ext2 filesystem?
linux mount floppy fstab
linux mount floppy fstab
asked Oct 10 '17 at 3:09
Janos
84
84
migrated from stackoverflow.com Oct 11 '17 at 13:45
This question came from our site for professional and enthusiast programmers.
migrated from stackoverflow.com Oct 11 '17 at 13:45
This question came from our site for professional and enthusiast programmers.
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
From man 8 mount
on Linux:
If no
-t
option is given, or if theauto
type is specified,
mount will try to guess the desired type. Mount uses theblkid
library for guessing the filesystem type; if that does not turn
up anything that looks familiar, mount will try to read the file
/etc/filesystems
, or, if that does not exist,/proc/filesystems
.
All of the filesystem types listed there will be tried, except
for those that are labelednodev
(e.g.devpts
,proc
andnfs
).
If/etc/filesystems
ends in a line with a single*
,mount
will
read/proc/filesystems
afterwards. While trying, all filesystem
types will be mounted with the mount optionsilent
.
So just create a file /etc/filesystems
containing something like this:
ext4
ext3
ext2
vfat
msdos
ntfs
iso9660
ufs
xfs
Add more filetypes if you need. Then you can use type auto
in fstab
.
@Sato Katsura - thanks for your interest in responding to my question. I do have the/etc/filesystems
file that contains ext2 and vfat entries, yet fstab with auto entry gives error suach as "bad superblock..." if usingmount
command without -t option. Thecat /proc/filesystem
shows only filesystems currently used by mounted devices. This problem happens only with/dev/fd0
; I can mount auto sda devices (usb sticks formatted either vfat or ext2). Strange behavior for fd0?
â Janos
Oct 18 '17 at 15:19
@Janos The order is important, the entries are tried in order. Ifmsdos
comes beforevfat
and you try to mount avfat
filesystem you'll get an error, because the filesystems are similar enough formsdos
to match.
â Satà  Katsura
Oct 18 '17 at 15:31
@sato Katsura - it works now! Thanks again, Janos
â Janos
Oct 20 '17 at 2:14
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
From man 8 mount
on Linux:
If no
-t
option is given, or if theauto
type is specified,
mount will try to guess the desired type. Mount uses theblkid
library for guessing the filesystem type; if that does not turn
up anything that looks familiar, mount will try to read the file
/etc/filesystems
, or, if that does not exist,/proc/filesystems
.
All of the filesystem types listed there will be tried, except
for those that are labelednodev
(e.g.devpts
,proc
andnfs
).
If/etc/filesystems
ends in a line with a single*
,mount
will
read/proc/filesystems
afterwards. While trying, all filesystem
types will be mounted with the mount optionsilent
.
So just create a file /etc/filesystems
containing something like this:
ext4
ext3
ext2
vfat
msdos
ntfs
iso9660
ufs
xfs
Add more filetypes if you need. Then you can use type auto
in fstab
.
@Sato Katsura - thanks for your interest in responding to my question. I do have the/etc/filesystems
file that contains ext2 and vfat entries, yet fstab with auto entry gives error suach as "bad superblock..." if usingmount
command without -t option. Thecat /proc/filesystem
shows only filesystems currently used by mounted devices. This problem happens only with/dev/fd0
; I can mount auto sda devices (usb sticks formatted either vfat or ext2). Strange behavior for fd0?
â Janos
Oct 18 '17 at 15:19
@Janos The order is important, the entries are tried in order. Ifmsdos
comes beforevfat
and you try to mount avfat
filesystem you'll get an error, because the filesystems are similar enough formsdos
to match.
â Satà  Katsura
Oct 18 '17 at 15:31
@sato Katsura - it works now! Thanks again, Janos
â Janos
Oct 20 '17 at 2:14
add a comment |Â
up vote
0
down vote
accepted
From man 8 mount
on Linux:
If no
-t
option is given, or if theauto
type is specified,
mount will try to guess the desired type. Mount uses theblkid
library for guessing the filesystem type; if that does not turn
up anything that looks familiar, mount will try to read the file
/etc/filesystems
, or, if that does not exist,/proc/filesystems
.
All of the filesystem types listed there will be tried, except
for those that are labelednodev
(e.g.devpts
,proc
andnfs
).
If/etc/filesystems
ends in a line with a single*
,mount
will
read/proc/filesystems
afterwards. While trying, all filesystem
types will be mounted with the mount optionsilent
.
So just create a file /etc/filesystems
containing something like this:
ext4
ext3
ext2
vfat
msdos
ntfs
iso9660
ufs
xfs
Add more filetypes if you need. Then you can use type auto
in fstab
.
@Sato Katsura - thanks for your interest in responding to my question. I do have the/etc/filesystems
file that contains ext2 and vfat entries, yet fstab with auto entry gives error suach as "bad superblock..." if usingmount
command without -t option. Thecat /proc/filesystem
shows only filesystems currently used by mounted devices. This problem happens only with/dev/fd0
; I can mount auto sda devices (usb sticks formatted either vfat or ext2). Strange behavior for fd0?
â Janos
Oct 18 '17 at 15:19
@Janos The order is important, the entries are tried in order. Ifmsdos
comes beforevfat
and you try to mount avfat
filesystem you'll get an error, because the filesystems are similar enough formsdos
to match.
â Satà  Katsura
Oct 18 '17 at 15:31
@sato Katsura - it works now! Thanks again, Janos
â Janos
Oct 20 '17 at 2:14
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
From man 8 mount
on Linux:
If no
-t
option is given, or if theauto
type is specified,
mount will try to guess the desired type. Mount uses theblkid
library for guessing the filesystem type; if that does not turn
up anything that looks familiar, mount will try to read the file
/etc/filesystems
, or, if that does not exist,/proc/filesystems
.
All of the filesystem types listed there will be tried, except
for those that are labelednodev
(e.g.devpts
,proc
andnfs
).
If/etc/filesystems
ends in a line with a single*
,mount
will
read/proc/filesystems
afterwards. While trying, all filesystem
types will be mounted with the mount optionsilent
.
So just create a file /etc/filesystems
containing something like this:
ext4
ext3
ext2
vfat
msdos
ntfs
iso9660
ufs
xfs
Add more filetypes if you need. Then you can use type auto
in fstab
.
From man 8 mount
on Linux:
If no
-t
option is given, or if theauto
type is specified,
mount will try to guess the desired type. Mount uses theblkid
library for guessing the filesystem type; if that does not turn
up anything that looks familiar, mount will try to read the file
/etc/filesystems
, or, if that does not exist,/proc/filesystems
.
All of the filesystem types listed there will be tried, except
for those that are labelednodev
(e.g.devpts
,proc
andnfs
).
If/etc/filesystems
ends in a line with a single*
,mount
will
read/proc/filesystems
afterwards. While trying, all filesystem
types will be mounted with the mount optionsilent
.
So just create a file /etc/filesystems
containing something like this:
ext4
ext3
ext2
vfat
msdos
ntfs
iso9660
ufs
xfs
Add more filetypes if you need. Then you can use type auto
in fstab
.
edited Oct 11 '17 at 14:24
answered Oct 11 '17 at 13:54
Satà  Katsura
10.7k11533
10.7k11533
@Sato Katsura - thanks for your interest in responding to my question. I do have the/etc/filesystems
file that contains ext2 and vfat entries, yet fstab with auto entry gives error suach as "bad superblock..." if usingmount
command without -t option. Thecat /proc/filesystem
shows only filesystems currently used by mounted devices. This problem happens only with/dev/fd0
; I can mount auto sda devices (usb sticks formatted either vfat or ext2). Strange behavior for fd0?
â Janos
Oct 18 '17 at 15:19
@Janos The order is important, the entries are tried in order. Ifmsdos
comes beforevfat
and you try to mount avfat
filesystem you'll get an error, because the filesystems are similar enough formsdos
to match.
â Satà  Katsura
Oct 18 '17 at 15:31
@sato Katsura - it works now! Thanks again, Janos
â Janos
Oct 20 '17 at 2:14
add a comment |Â
@Sato Katsura - thanks for your interest in responding to my question. I do have the/etc/filesystems
file that contains ext2 and vfat entries, yet fstab with auto entry gives error suach as "bad superblock..." if usingmount
command without -t option. Thecat /proc/filesystem
shows only filesystems currently used by mounted devices. This problem happens only with/dev/fd0
; I can mount auto sda devices (usb sticks formatted either vfat or ext2). Strange behavior for fd0?
â Janos
Oct 18 '17 at 15:19
@Janos The order is important, the entries are tried in order. Ifmsdos
comes beforevfat
and you try to mount avfat
filesystem you'll get an error, because the filesystems are similar enough formsdos
to match.
â Satà  Katsura
Oct 18 '17 at 15:31
@sato Katsura - it works now! Thanks again, Janos
â Janos
Oct 20 '17 at 2:14
@Sato Katsura - thanks for your interest in responding to my question. I do have the
/etc/filesystems
file that contains ext2 and vfat entries, yet fstab with auto entry gives error suach as "bad superblock..." if using mount
command without -t option. The cat /proc/filesystem
shows only filesystems currently used by mounted devices. This problem happens only with /dev/fd0
; I can mount auto sda devices (usb sticks formatted either vfat or ext2). Strange behavior for fd0?â Janos
Oct 18 '17 at 15:19
@Sato Katsura - thanks for your interest in responding to my question. I do have the
/etc/filesystems
file that contains ext2 and vfat entries, yet fstab with auto entry gives error suach as "bad superblock..." if using mount
command without -t option. The cat /proc/filesystem
shows only filesystems currently used by mounted devices. This problem happens only with /dev/fd0
; I can mount auto sda devices (usb sticks formatted either vfat or ext2). Strange behavior for fd0?â Janos
Oct 18 '17 at 15:19
@Janos The order is important, the entries are tried in order. If
msdos
comes before vfat
and you try to mount a vfat
filesystem you'll get an error, because the filesystems are similar enough for msdos
to match.â Satà  Katsura
Oct 18 '17 at 15:31
@Janos The order is important, the entries are tried in order. If
msdos
comes before vfat
and you try to mount a vfat
filesystem you'll get an error, because the filesystems are similar enough for msdos
to match.â Satà  Katsura
Oct 18 '17 at 15:31
@sato Katsura - it works now! Thanks again, Janos
â Janos
Oct 20 '17 at 2:14
@sato Katsura - it works now! Thanks again, Janos
â Janos
Oct 20 '17 at 2:14
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f397465%2ffloppy-fstab-entry-for-vfat-and-ext%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password