Chinese, On FreeBSD 6.2 ,<br>mount FAT file-system<br>#mount_msdosfs -L zh_CN.GBK /dev/ad0s1 /mnt/d<br><br><div><span class="gmail_quote">2007/10/3, Tino Keitel <<a href="mailto:tino.keitel+xfce@tikei.de">tino.keitel+xfce@tikei.de
</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
On Mon, Oct 01, 2007 at 10:12:10 -0700, Todd and Margo Chester wrote:<br>> Tino Keitel wrote:<br>> > On Fri, Sep 28, 2007 at 11:32:09 -0700, Todd and Margo Chester wrote:<br>> >> Peter Smerdon wrote:<br>
> >>> Todd and Margo Chester <<a href="mailto:ToddAndMargo@verizon.net">ToddAndMargo@verizon.net</a>> writes:<br>> >>><br>> >>>>> From /etc/fstab:<br>> >>>>> /dev/sdc1 /mnt/TripStick vfat
<br>> >>>>> pamconsole,noatime,sync,fscontext=system_u:object_r:removable_t,exec,noauto,rw,users<br>> >>>>> 0 0<br>> >>>>><br>> >>>>> So, fstab (sdc1) disagrees with mtab (sde1).
<br>> >>>>><br>> >>>>> P.S. all this would go away if "mount" would<br>> >>>>> respect vfat "labels"<br>> >>>>><br>> >>> This might not be you issue, but shouldn't your fstab entry be `user'
<br>> >>> and not `users'?<br>> >>><br>> >> In my fstab, I was shooting for this (from "man mount":<br>> >><br>> >> If any user should be able to unmount, then
<br>> >> use users instead of user in the fstab line.<br>> >><br>> >> My problem was that I have a script to mount three<br>> >> sticks that I use based on the stick's label. I
<br>> >> have to do this because the kernel will assign<br>> >> the "dev" (/dev/sdc1) in order that I insert the<br>> >> sticks and not by the mount point in fstab.<br>> ><br>> > I don't know what your exact problem is, but udev creates unique device
<br>> > symlinks in /dev/disk/by-label. This works at least for FAT, ext3 and<br>> > XFS.<br>><br>> Hi Tino,<br>><br>> My CentOS5 doesn't support mount by label with vfat (the "-L"
<br>> option in "mount"). :'(<br><br>I'm not talking abount mount -L, I'm talking about device symlinks in<br>/dev/disk/by-label, which should be created by any recent udev<br>installation.<br><br>
> Which distro are you using?<br><br>Debian<br><br>Regards,<br>Tino<br>_______________________________________________<br>Xfce mailing list<br><a href="mailto:Xfce@xfce.org">Xfce@xfce.org</a><br><a href="http://foo-projects.org/mailman/listinfo/xfce">
http://foo-projects.org/mailman/listinfo/xfce</a><br><a href="http://www.xfce.org">http://www.xfce.org</a><br></blockquote></div><br>