To add to what Ken said, if you're using udev, you should be able to get a stable device identifier by looking in /dev/disk/by-id. Usually the name there is informative enough to just figure it directly. Recent Fedora and Ubuntu distros have this facility. You can then use /dev/disk/by-id/xxxx in /etc/fstab as Ken suggested.<div>
<br></div><div>Matt<br><br><div class="gmail_quote">On Fri, Feb 20, 2009 at 11:03 AM, Chanoch (Ken) Bloom <span dir="ltr"><<a href="mailto:kbloom@gmail.com">kbloom@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Fri, 2009-02-20 at 11:49 -0500, ALLO (Alfredo Lopez De Leon) wrote:<br>
> Hi,<br>
</div><div class="Ih2E3d">> Thank you very much for all your answers. After testing some of your<br>
> suggestions I "discovered" that It is after all a USB drive and as<br>
> root I have to umount it before logging out so the other users can<br>
> mount it and use it...<br>
><br>
> Too bad USB drives do not behave like "real attached drives". Well.<br>
> Like the Rolling Stones would say: You can't always get what you want.<br>
><br>
> Have a nice one!<br>
><br>
> Alfredo<br>
<br>
</div>That's an assumption the operating system makes because most USB drives<br>
are thumb drives and the like, single-user disks that come and go. You<br>
can change that, though.<br>
<br>
Create a rule to identify the device uniquely in udev and to assign it a<br>
permenant device node (I can't tell you exactly how to do this, it will<br>
depend on being able to find something like a serial number that udev<br>
can use to identify it.), then add that device node to /etc/fstab, with<br>
appropriate mount options.<br>
<br>
Just out of curiousity, what's the block size (the size occupied by a 1<br>
byte file) on a 1 TB fat32 drive?<br>
<br>
--Ken<br>
<font color="#888888"><br>
--<br>
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.<br>
Department of Computer Science. Illinois Institute of Technology.<br>
<a href="http://www.iit.edu/~kbloom1/" target="_blank">http://www.iit.edu/~kbloom1/</a><br>
<br>
</font><br>_______________________________________________<br>
vox-tech mailing list<br>
<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
<br></blockquote></div><br></div>