gnewsense-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gNewSense-users] Trying to re-build fstab to read usb port drives


From: Adrian van Egmond
Subject: Re: [gNewSense-users] Trying to re-build fstab to read usb port drives
Date: Sun, 14 Mar 2010 09:34:14 -0700

Nor sure if my problem can be solved this way because then i will have
to custom write the fstab for every usb i plug in (ntfs, vfat, mac,
etc.....). Before zapping my /dev and /media folders with chmod 666 I
would not have to do this. It would plug and play, My sense is that I
need to undo/reverse the chmod 666 on /dev and /media folders. Is this
possible?

Confused
:-/


On 3/13/10, Sam Geeraerts <address@hidden> wrote:
> Adrian van Egmond schreef:
>> Recently, I wiped out my fstab using chmod 666 command on /dev and
>> /media while making a liveusb. Idiotic, I know! I can get the usb to
>> recognize but not much more. Perhaps someone can see the problem?
>>
>> Here is some info:
>>
>> /dev/sdd1       /media/Sugar    ext3    auto  user,noauto       0       0
>
> So you're trying to mount /dev/sdd1.
>
>>> sudo dmesg | tail
>> [164908.860000] usb-storage: device scan complete
>> [164908.872000] sd 16:0:0:0: [sdo] 625142448 512-byte logical blocks:
>> (320 GB/298 GiB)
>> [164908.872000] sd 16:0:0:0: [sdo] Write Protect is off
>> [164908.872000] sd 16:0:0:0: [sdo] Mode Sense: 1c 00 00 00
>> [164908.872000] sd 16:0:0:0: [sdo] Assuming drive cache: write through
>> [164908.872000] sd 16:0:0:0: [sdo] Assuming drive cache: write through
>> [164908.872000]  sdo: sdo1
>
> The system assigns /dev/sdo1 to the USB partition.
>
>>> mounted (not really) write permissions error
>>> tail -f /var/log/messages
>> Mar 11 05:16:30 gnewsense kernel: [169466.264000] scsi 17:0:0:0:
>> Direct-Access     Seagate  FreeAgent Go     102F PQ: 0 ANSI: 4
>> Mar 11 05:16:30 gnewsense kernel: [169466.288000] sd 17:0:0:0: [sdp]
>> 625142448 512-byte logical blocks: (320 GB/298 GiB)
>> Mar 11 05:16:30 gnewsense kernel: [169466.292000] sd 17:0:0:0: [sdp]
>> Write Protect is off
>> Mar 11 05:16:30 gnewsense kernel: [169466.292000]  sdp: sdp1
>> Mar 11 05:16:30 gnewsense kernel: [169466.348000] sd 17:0:0:0: [sdp]
>> Attached SCSI disk
>
> The system assigns /dev/sdp1 this time.
>
> To always mount that device to the same mount point it's best to do it
> by UUID. Find out the UUID of the USB partition by plugging it in and
> then running
>
> sudo blkid
>
> Pick the USB partition from that list (compare with dmesg output if
> needed) and replace the "/dev/sdd1" in you fstab with "UUID=..." (fill
> in the UUID you found).
>
>
> _______________________________________________
> gNewSense-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gnewsense-users
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]