首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ubuntu如何在我作为所有者的情况下安装ntfs

ubuntu如何在我作为所有者的情况下安装ntfs
EN

Ask Ubuntu用户
提问于 2014-05-03 15:01:14
回答 1查看 309关注 0票数 0

迄今为止:

代码语言:javascript
复制
sudo mount -t ntfs -o rw,auto,user,fmask=0000,dmask=0000 /dev/sdc1 /media/BB

工作正常,每个权限都设置为读和写,现在我所需要的只是所有者不要成为"root“。

我能做些什么来安装ntfs与我作为所有者?

对上面的命令有什么修改吗?

比如user=“我”?不然呢?我到处寻找,找不到那么多东西

安装帮助不是非常有用的。

代码语言:javascript
复制
mount --help
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
   mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
EN

回答 1

Ask Ubuntu用户

发布于 2014-05-03 16:26:44

A. sudo mkdir /media/ntfsPartition --这将在您的媒体目录中创建一个文件夹,您可以添加任何您想要的名称;

B. sudo blkid -查找要挂载的ntfs分区的UUID;

C. sudo gedit /etc/fstab --通过在底部写入新行(例如:应该如下所示),在您希望挂载的ntfs分区中添加一个新行

代码语言:javascript
复制
#ntfs_partition
UUID=xxxxxxxxxxxxxxxx /media/ntfsPartition ntfs defauls,uid=1000,gid=1000,noatime 0 0

(在D点之前,通过输入终端id来检查uid和gid是否为1000 )

D.保存档案;

sudo mount -a -这将挂载您的ntfs分区;

F.已完成

*在Ubuntu14.04上以这种方式测试和使用我的ntfs分区。

对于旧版本,请检查此- 如何使NTFS分区自动化?

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/460079

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档