LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: chanshun8

请教大家!请问如何在linux放硬盘里的蓝光原盘电影?谢谢!

[复制链接]
 楼主| 发表于 2012-1-16 19:25:38 | 显示全部楼层
Post by doublechou;2158804
你的 /media 文件夹不是空的啊,那你这样:

  1. sudo mkidr /media/Blu-ray/
  2. sudo mount Blu-ray.iso /media/Blu-ray/ -o - loop
复制代码

linux-7gws:/media/FA70F53C70F50065 # sudo mkdir /media/Blu-ray/
linux-7gws:/media/FA70F53C70F50065 # sudo mount OceanWorld Blu-Ray 3D.iso /media/Blu-ray/ -o - loop
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 .
linux-7gws:/media/FA70F53C70F50065 #
谢谢!还是一样,不知道那里错了!
回复 支持 反对

使用道具 举报

发表于 2012-1-16 22:53:35 | 显示全部楼层
Post by chanshun8;2158805
linux-7gws:/media/FA70F53C70F50065 # sudo mkdir /media/Blu-ray/
linux-7gws:/media/FA70F53C70F50065 # sudo mount OceanWorld Blu-Ray 3D.iso /media/Blu-ray/ -o - loop
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 .
linux-7gws:/media/FA70F53C70F50065 #
谢谢!还是一样,不知道那里错了!


拜托,您老第一天用 Linux 吗。。。文件名不带有空格的,你给加上下划线去试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-1-16 23:36:19 | 显示全部楼层
Post by doublechou;2158821
拜托,您老第一天用 Linux 吗。。。文件名不带有空格的,你给加上下划线去试试


linux-7gws:/media/FA70F53C70F50065 # sudo mkdir /media/Blu-ray/
linux-7gws:/media/FA70F53C70F50065 # sudo mount OceanWorld_Blu-Ray_3D.iso /media/Blu-ray/ -o - loop
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 .
linux-7gws:/media/FA70F53C70F50065 #
唉!看来是没法了!文件名字都改了也不行,谢谢帮忙!希望以后能有软件支持。暂时放弃。
回复 支持 反对

使用道具 举报

发表于 2012-1-17 04:55:39 | 显示全部楼层
Post by true5toss;2158700
没大屏的1080p的平板电视么?你的1024x768的分辨率方那个东西有意义么

其实现在有个1080p的22或者23寸液晶显示器也不是什么稀罕事儿嘛。我个人感觉如果有1080p显示器的话,蓝光比DVD效果确实好得多。
回复 支持 反对

使用道具 举报

发表于 2012-1-17 08:53:49 | 显示全部楼层
Post by chanshun8;2158823
linux-7gws:/media/FA70F53C70F50065 # sudo mkdir /media/Blu-ray/
linux-7gws:/media/FA70F53C70F50065 # sudo mount OceanWorld_Blu-Ray_3D.iso /media/Blu-ray/ -o - loop
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 .
linux-7gws:/media/FA70F53C70F50065 #
唉!看来是没法了!文件名字都改了也不行,谢谢帮忙!希望以后能有软件支持。暂时放弃。
文件名可以有空格,但必须包在引号里面。
回复 支持 反对

使用道具 举报

发表于 2012-1-17 09:32:29 | 显示全部楼层
我觉得不是软件不行,是楼主。。。

可能性: 系统自动挂载了一个只读的什么到 /media,然后我们在教楼主往只读目录下挂载东西。
  1. cd /media
  2. ll /media
复制代码

返回结果贴一下吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-1-18 14:37:18 | 显示全部楼层
Post by doublechou;2158834
我觉得不是软件不行,是楼主。。。

可能性: 系统自动挂载了一个只读的什么到 /media,然后我们在教楼主往只读目录下挂载东西。

  1. cd /media
  2. ll /media
复制代码


返回结果贴一下吧。


wing@linux-utn5:~> su
Password:
linux-utn5:/home/wing # cd /media/FA70F53C70F50065
linux-utn5:/media/FA70F53C70F50065 # ll /media
total 42
drwx------  4 wing users 16384 Jan  1  1970 Cruzer
drwx------ 16 wing users 16384 Jan  1  1970 CRUZER
drwx------  1 wing users  8192 Jan 18 01:04 FA70F53C70F50065
dr-x------  1 wing users  2048 Oct 28  2007 U3 System
linux-utn5:/media/FA70F53C70F50065 # cd /media
linux-utn5:/media # ll /media
total 42
drwx------  4 wing users 16384 Jan  1  1970 Cruzer
drwx------ 16 wing users 16384 Jan  1  1970 CRUZER
drwx------  1 wing users  8192 Jan 18 01:04 FA70F53C70F50065
dr-x------  1 wing users  2048 Oct 28  2007 U3 System
linux-utn5:/media #
谢谢!返回结果是这样,/media/FA70F53C70F50065 是一个ntfs的分区,iso就是直接放在这分区上。
回复 支持 反对

使用道具 举报

发表于 2012-1-18 15:47:08 | 显示全部楼层
Post by chanshun8;2158876
wing@linux-utn5:~> su
Password:
linux-utn5:/home/wing # cd /media/FA70F53C70F50065
linux-utn5:/media/FA70F53C70F50065 # ll /media
total 42
drwx------  4 wing users 16384 Jan  1  1970 Cruzer
drwx------ 16 wing users 16384 Jan  1  1970 CRUZER
drwx------  1 wing users  8192 Jan 18 01:04 FA70F53C70F50065
dr-x------  1 wing users  2048 Oct 28  2007 U3 System
linux-utn5:/media/FA70F53C70F50065 # cd /media
linux-utn5:/media # ll /media
total 42
drwx------  4 wing users 16384 Jan  1  1970 Cruzer
drwx------ 16 wing users 16384 Jan  1  1970 CRUZER
drwx------  1 wing users  8192 Jan 18 01:04 FA70F53C70F50065
dr-x------  1 wing users  2048 Oct 28  2007 U3 System
linux-utn5:/media #
谢谢!返回结果是这样,/media/FA70F53C70F50065 是一个ntfs的分区,iso就是直接放在这分区上。


请问您这是什么发行版啊?怎么还有把 ntfs 分区挂 /media 下的,你自己挂的还是系统挂的?另外你这几个文件夹都只能 wing 来改动和执行,但 wing 又没有在 /media 文件夹下创建文件夹的权限,你学学 chmod 的用法去修下你的那个东西的权限吧我觉得。。。很可能就是这个原因你挂不上。你看刚才我教你的创建文件夹的命令你输了我也没有看到 /media/Blu-ray 的文件夹啊。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-1-18 19:14:58 | 显示全部楼层
Post by doublechou;2158884
请问您这是什么发行版啊?怎么还有把 ntfs 分区挂 /media 下的,你自己挂的还是系统挂的?另外你这几个文件夹都只能 wing 来改动和执行,但 wing 又没有在 /media 文件夹下创建文件夹的权限,你学学 chmod 的用法去修下你的那个东西的权限吧我觉得。。。很可能就是这个原因你挂不上。你看刚才我教你的创建文件夹的命令你输了我也没有看到 /media/Blu-ray 的文件夹啊。


我这个是openSUSE11.4 gnome,所有分区它都是它自动挂载以 /media命名的,如 /media/FA70F53C70F50065或/media/4BA2-DD98,那个 /media/Blu-ray是输入了也挂不上给我删了的,所以你看不到。                                                                linux-utn5:/home/wing # ll /media
total 110
drwx------ 11 wing users 32768 Jan  1  1970 4BA2-DD98
drwx------ 30 wing users 32768 Jan  1  1970 4BA2-DDA7
drwxr-xr-x  2 root root   4096 Jan 18 18:40 Blu-ray
drwx------  4 wing users 16384 Jan  1  1970 Cruzer
drwx------ 16 wing users 16384 Jan  1  1970 CRUZER
drwx------  1 wing users  8192 Jan 18 01:04 FA70F53C70F50065
dr-x------  1 wing users  2048 Oct 28  2007 U3 System
linux-utn5:/home/wing #
回复 支持 反对

使用道具 举报

发表于 2012-1-18 21:37:44 | 显示全部楼层
你看这条权限:

  1. drwxr-xr-x  2 root root   4096 Jan 18 18:40 Blu-ray
复制代码


你这条权限:

  1. drwx------  4 wing users 16384 Jan  1  1970 Cruzer
复制代码


其他用户和组连「读」的权限都没有,只有 wing 有全部权限,但 wing 是没有权限操作 /media 下的东西的,懂我想说的意思了吗?

你只有用 wing 才能「读」那个文件夹下的 iso, 但 wing 却没有权限往 Blu-ray 里挂载;

root 可以挂载,但是「读」不到那个 iso。

所以, 我建议你:

  1. sudo chmod 644 /media/*
  2. sudo chown root:root /media/*
  3. sudo mount /media/????????/Blu-ray.iso /media/Blu-ray/
复制代码


这样应该就能挂载了。

BTW:

owner-users in the same group- others
xxxx-xxx-xxx
d 代表是 directory 文件夹;
r 代表是 read 只读,权重为4;
w 代表是 write 可写,权重为2;
x 代表是 execute 可执行,权重为1;
所以有:
drwx-xr-x

chmod 644 就是 r+w = 6 r = 4 r = 4, 于是
相当于 drw-r-r
chown user:group 可以确定拥有者
chown wing:users 就是给你普通用户
chown root:root 就是给你根用户

你要这样还改不对那我就不回你了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表