[Linux-disciples] External USB drive

Adam Rosi-Kessel adam at rosi-kessel.org
Fri Aug 24 09:05:01 EDT 2007


If read-only is working fine, that suggests probably a low level issue. 
Which Ubuntu version / kernel version are you using? You might find 
better results just by upgrading to the latest supported kernel, which 
probably has more NTFS kinks worked out.

(That said, you'll definitely have an easier time generally with FAT32).

On your second question: these days, you shouldn't need to muck around 
with fstab or even be root user to do anything involving external 
mountable devices. On my Ubuntu installation, if I plug in an external 
drive, it just appears automatically, mounted as the currently logged in 
user. I didn't do anything to make that happen, so I don't know exactly 
why/how it does, but you might check to see if you have hal-manager and 
related packages installed.

You could also try using pmount rather than mount, which does some 
cleverness in creating the mountpoint based on the device name.

Another idea is if there is some way of addressing the device by label 
rather than node, you wouldn't need to change fstab. With ext2/3, this 
is trivial, but I'm not sure if it can be done with NTFS.

Karl Sokol wrote:
> So far, so good with the "sudo mount -o ro /home/church/yellow" bit - 
> except for the obvious fact that a read-only drive isn't terribly useful.
> 
> For Steve...
> thanks, but I do umount when I am allowed to.  as for the ntfs, no, I 
> don't particularly need it to be so, but the drive came preformatted and 
> I haven't had any problems sharing an ntfs partition on my main hard 
> drive. 
> 
> Side question...
> If I use the drive on another computer (after properly umonting or 
> shutting down, of course) and plug it back in, it often changes location 
> (e.g. from /dev/hdb1 to /dev/hdd1 or even /dev/sda1).  I have been using 
> dmesg to find it and then manually changing the fstab. 
> 
> (/dev/sda1     /home/church/yellow ntfs-3g 
> defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,user 0 0)
> 
> There must be a better way.  Any suggestions?
> 
> On 8/15/07, * Adam Rosi-Kessel* <adam at rosi-kessel.org 
> <mailto:adam at rosi-kessel.org>> wrote:
> 
>     Karl Sokol wrote:
>      > I would really like this to be consistently reliable.  My best
>     guess as
>      > to what happens is that when the drive goes to sleep after 15
>     minutes,
>      > unpredictable things happen at wake up.  Has anybody else had
>     experience
>      > with this sort of drive?
> 
>     Just guessing here, but try running it for a while read-only (-o ro for
>     mount options) and see if it still fails.
>     _______________________________________________
>     Linux-disciples mailing list
>     Linux-disciples at lists.bostoncoop.net
>     <mailto:Linux-disciples at lists.bostoncoop.net>
>     http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
>     <http://lists.bostoncoop.net/mailman/listinfo/linux-disciples>
> 
> 
> 
> 
> -- 
> Grace and Peace,
> 
> Rev. Karl Sokol
> Franklin Grove UMC
> 211 N. Spring
> Franklin Grove, IL 61031
> 
> FranklinGroveUMC.com
> 
> "I come that you might have life, and that you might have it more 
> abundantly."
>                             
>                                                                                
> -- Jesus (John 10:10)
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples




More information about the Linux-disciples mailing list