Print

Print


Sorry again,

1. You need to enter as a line in /etc/fstab something like
/dev/sdb1    /media/external    ext2    defaults    0 0

a) */etc/fstab: *rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$ /etc/fstab
bash: /etc/fstab: *Permission denied*
rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$

b)* /etc/fstab/dev/sdb1    /media/external    ext2    defaults    0 0*:
rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$ /etc/fstab/dev/sdb1
/media/external    ext2    defaults    0 0
*bash: /etc/fstab/dev/sdb1: Not a directory*
rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$

c) */etc/fstab/dev/sdb1/media/external    ext2    defaults    0 0:
*rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$
/etc/fstab/dev/sdb1/media/external    ext2    defaults    0 0
*bash: /etc/fstab/dev/sdb1/media/external: Not a directory*
rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$

Rosalia.

2013/1/21 Watson, Christopher <[log in to unmask]>

> You need to enter as a line in /etc/fstab/dev/sdb1/media/external    ext2
>    defaults    0 0
>
> ________________________________________
> From: FSL - FMRIB's Software Library [[log in to unmask]] on behalf of
> Rosalia Dacosta Aguayo [[log in to unmask]]
> Sent: Monday, January 21, 2013 3:43 PM
> To: [log in to unmask]
> Subject: Re: [FSL] Configure bash problems with extern hard disk
>
> Sorry, Dr. Winker,
>
> Looking into the Linux manual I have found another command "lsusb", and it
> shows me that my media toshiba is in the system:
> rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$ lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 002: ID 064e:a110 Suyin Corp. HP Webcam
> Bus 004 Device 002: ID 046d:c05b Logitech, Inc.
> Bus 002 Device 006: ID 0480:a006 Toshiba America Info. Systems, Inc.
> rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$
>
>
>
>
>
> 2013/1/21 Rosalia Dacosta Aguayo <[log in to unmask]<mailto:
> [log in to unmask]>>
> Dear Winker,
>
> Here it is:
>
> 1.  rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$ /etc/mtab
> bash: /etc/mtab: Permission denied
> rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$
>
> 2. rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$ cat /etc/mtab
> /dev/sda6 / ext4 rw,errors=remount-ro,commit=0 0 0
> proc /proc proc rw,noexec,nosuid,nodev 0 0
> sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
> fusectl /sys/fs/fuse/connections fusectl rw 0 0
> none /sys/kernel/debug debugfs rw 0 0
> none /sys/kernel/security securityfs rw 0 0
> udev /dev devtmpfs rw,mode=0755 0 0
> devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
> tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
> none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
> none /run/shm tmpfs rw,nosuid,nodev 0 0
> binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
> /dev/sdb1 /media/TOSHIBA\040EXT fuseblk
> rw,nosuid,nodev,allow_other,blksize=4096,default_permissions 0 0
> gvfs-fuse-daemon /home/rosi/.gvfs fuse.gvfs-fuse-daemon
> rw,nosuid,nodev,user=rosi 0 0
> rosi@rosi-HP-Pavilion-dv9700-Notebook-PC:~$
>
> My hard disk is in ///computer, but there is no way to configure a path in
> the bash script in order it can be recognized.
>
> Thank you.
>
> Rosalia.
>