yes.... I did edit fstab. I'm sure I created the label on the usb. How do I
see what that setting is? Did you see the message about the permissions
being wrong and me wondering what I should set them to? Would 700 be good
or do you recommend something else?
here is fstab:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=cc83628a-2b28-40b4-8f02-c8a818ef55e9 / ext4
errors=remount
-ro 0 1
# /home was on /dev/sda6 during installation
UUID=0653ee3e-f753-42a3-a6b6-dc2948cb8859 /home ext4 defaults
0 2
# swap was on /dev/sda5 during installation
UUID=31eb4a2e-cf07-47d8-9f0a-2b12795b32fc none swap sw
0 0
#pictures move
/media/bmike1/entertainment/Pictures /home/bmike1/Pictures none bind 0 0
#backups drive
LABEL=MY_BACKUPS /mnt/backup ext3 noauto,users,noatime 0 0
:-)~MIKE~(-:
On Wed, Jul 10, 2013 at 3:34 PM, Matt Graham <
danceswithcrows@usa.net>wrote:
> From: Michael Havens
> >> If you mount a disk on /mnt/backup , then rsync your ~ to
> >> /mnt/backup/bmike/ , that means that /mnt/backup/bmike/ will contain
> >> an exact copy of your ~.
> > bmike1@PresarioLapTop1:~$ sudo mount /dev/sdc /mnt/sdc
>
> You made an fstab entry for the device by editing /etc/fstab as root with a
> text editor, didn't you? I put that as step 3 in my original message on
> 2013-06-29. One like so:
>
> LABEL=MY_BACKUPS /mnt/backup ext3 noauto,users 0 0
>
> ...this fstab line means "The device with label MY_BACKUPS is mounted on
> directory /mnt/backup , has a filesystem type of ext3, is not mounted
> automatically on boot, users are allowed to mount or umount it, and it is
> not
> auto-fscked or dumped". This allows you to mount the device as a normal
> user
> by just doing "mount /mnt/backup", which was in the script.
>
> > mount: no medium found on /dev/sdc
>
> USB disks can be associated with different device nodes, depending on how
> many
> other devices are plugged in. This is the whole point of using a
> filesystem
> label; you don't have to worry about which device node the USB disk is seen
> as.
>
> Note that if you're using udev (almost everything is), you can take a look
> at
> /dev/disk/by-label/ and see entries in there for every block device that
> has a
> filesystem label that's connected to the machine. You can also put
> /dev/disk/by-label/A_LABEL in an fstab entry, which will work fine provided
> udev is running and the device is plugged in.
>
> > bmike1@PresarioLapTop1:~$ ls /mnt/backup
> > ls: reading directory /mnt/backup: Input/output error
> > How does one list from a device with a label?
>
> One mounts the device on a mountpoint first, then one does "ls
> /that/mountpoint".
>
> --
> Matt G / Dances With Crows
> The Crow202 Blog: http://crow202.org/wordpress/
> There is no Darkness in Eternity/But only Light too dim for us to see
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss