lkml.org 
[lkml]   [2005]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Re: msdos/vfat defaults are annoying

    On 2005.02.07 00:42, Pozsár Balázs wrote:
    > On Mon, Feb 07, 2005 at 12:36:10AM +0000, Al Viro wrote:
    > > On Mon, Feb 07, 2005 at 12:21:08AM +0100, Pozsar Balazs wrote:
    > > > On Sun, Feb 06, 2005 at 07:06:59AM +0000, Christoph Hellwig wrote:
    > > > > filesystem detection isn't handled at the kerne level.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    >
    > IIRC currently if both msdos and vfat are compiled in (not modules),
    > and
    >
    > you try to mount a vfat filesystem without explicitly specifying the fs
    > type, it will be mounted with the msdos type. With the, it will mounted
    > vfat.
    >


    But since filesystem detection isn't handled in the kernel, changing the
    link order is pointless. Please fix your /etc/filesystems instead.

    ~# grep camera /etc/fstab
    /dev/sda1 /mnt/camera auto users,noauto 0 0
    ~# strace -o mount.trace mount /mnt/camera
    ~# grep filesystems mount.trace
    open("/etc/filesystems", O_RDONLY|O_LARGEFILE) = 3
    ~# cat /etc/filesystems
    ext2
    ext3
    nodev proc
    nodev devpts
    iso9660
    reiserfs
    vfat
    udf

    Also check man 8 mount, specifically option -t:

    [...] Creating a file /etc/filesystems can be useful to change the probe
    order (e.g., to try vfat before msdos) ...

    This is from man-pages 1.66, btw.


    Regards,


    Nuno
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:10    [W:0.022 / U:89.912 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site