首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >USB闪存驱动器在Debian上的Gnome下是只读的。

USB闪存驱动器在Debian上的Gnome下是只读的。
EN

Unix & Linux用户
提问于 2015-05-15 19:03:03
回答 2查看 13.2K关注 0票数 2

我的电脑上有Debian。我插入了一个USB闪存,它在我的Gnome环境中打开得很好。但当我试图复制一些东西时,我得到了:

copy.The目标期间的错误仅用于读取。

当我去属性,看看我是否可以从那里改变一些东西,它似乎我不能-改变我正在做的重置是自己的。

我该怎么办?

编辑

如果我使用mount,我得到:

代码语言:javascript
复制
/dev/sdb1 on /media/KINGSTON type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437‌​,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udi‌​sks)

代码语言:javascript
复制
# mount -o remount,rw/dev/sdb1/
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 .

# remount
bash: remount: command not found
# mount -t remount,rw/dev/sdb1/
# mount -t remount,rw/dev/sdb1/
# 

为什么?

EN

回答 2

Unix & Linux用户

发布于 2019-04-23 08:51:17

检查dmesg。

也许,文件系统被设置为只读,因为卷没有正确地卸载,并且一些数据可能损坏。

在这种情况下,您应该卸载文件系统并运行fsck。

票数 1
EN

Unix & Linux用户

发布于 2022-07-16 16:27:31

在我的例子中,我试图装入一个NTFS驱动器,它只会以只读的形式出现。然后我安装了NTFS-3G,然后它出现了读/写。

代码语言:javascript
复制
sudo apt install ntfs-3g
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/203672

复制
相关文章

相似问题

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