Automounting (Ubuntu Server)
By default, disk drives do not automount in Ubuntu Server Edition. If you are looking for a lightweight solution that does not depend on HAL/DBUS, you can install "usbmount".

預設不會自動mount

1.sudo fdisk -l
2.sudo mkdir /media/external
3.sudo mount -t vfat /dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137
or sudo mount -t ntfs-3g /dev/sdb1 /media/external

unmount
sudo umount /dev/sdb1
or
sudo umount /media/external

https://help.ubuntu.com/community/Mount/USB
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 abort 的頭像
    abort

    推理文by阿誠

    abort 發表在 痞客邦 留言(0) 人氣()