Permanently mount a USB Hard Disk for Security purpose
Ed Greshko
ed.greshko at greshko.com
Tue Oct 21 08:47:06 UTC 2014
On 10/21/14 16:14, Angelo Moreschini wrote:
> I have a problem with the command mount...
>
> this is the command that I use:
> [root at zorro ~]# mount -t ntfs /dev/36CC878C70FF1EC2 /media/PRTZ-src_sync
>
> but I get this error:
> ntfs-3g: Failed to access volume '/dev/36CC878C70FF1EC2': No such file or directory
>
> ntfs-3g 2014.2.15 integrated FUSE 27 - Third Generation NTFS Driver
> Configuration type 1, XATTRS are on, POSIX ACLS are off
> Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
>
>
> the uuid is not recognized ..... (?)
Just add this line to /etc/fstab
UUID=36CC878C70FF1EC2 /media/PRTZ-src_sync ntfs defaults 1 2
Then just issue the command....
mount /media/PRTZ-src_sync
Now, this will result in the files being created in that directory space to be owned by root. If you want the files to be owned by a specific user you'd have to use the uid=XXX,gid=XXX.
--
If you can't laugh at yourself, others will gladly oblige.
More information about the users
mailing list