Gentoo:影音软件:修订间差异
imported>Soleverlee 以“=Music= <source lang="bash"> emerge amarok </source> =NTFS= Category:Linux/Unix”为内容创建页面 |
imported>Soleverlee |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
=Music= | =Music= | ||
<source lang="bash"> | <source lang="bash"> | ||
emerge kmix | |||
emerge amarok | emerge amarok | ||
</source> | </source> | ||
=NTFS= | =NTFS= | ||
如果内核编译漏选,需要重新编译: | |||
<pre> | |||
File systems ---> | |||
<M> FUSE (Filesystem in Userspace) support | |||
</pre> | |||
<source lang="bash"> | |||
make && make modules_install | |||
... | |||
emerge --ask ntfs3g | |||
ntfs-3g /dev/sda2 /mnt/windows/ | |||
</source> | |||
编辑/etc/fstab文件,挂载只读windows分区。 | |||
<pre> | |||
dev/sdb6 /boot ext2 noauto,noatime 1 2 | |||
/dev/sdb7 none swap sw 0 0 | |||
/dev/sdb8 /home ext4 noatime 0 1 | |||
/dev/sdb9 / ext4 noatime 0 1 | |||
/dev/sda2 /mnt/hdd ntfs-3g defaults,umask=022 0 0 | |||
/dev/sdb4 /mnt/win10 ntfs-3g defaults,umask=022 0 0 | |||
/dev/sdb5 /mnt/ssd ntfs-3g defaults,umask=022 0 0 | |||
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 | |||
/dev/fd0 /mnt/floppy auto noauto 0 0 | |||
</pre> | |||
使配置生效. | |||
<source lang="bash"> | |||
mount -a | |||
</source> | |||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2016年12月17日 (六) 03:46的最新版本
Music
emerge kmix
emerge amarok
NTFS
如果内核编译漏选,需要重新编译:
File systems ---> <M> FUSE (Filesystem in Userspace) support
make && make modules_install
...
emerge --ask ntfs3g
ntfs-3g /dev/sda2 /mnt/windows/
编辑/etc/fstab文件,挂载只读windows分区。
dev/sdb6 /boot ext2 noauto,noatime 1 2 /dev/sdb7 none swap sw 0 0 /dev/sdb8 /home ext4 noatime 0 1 /dev/sdb9 / ext4 noatime 0 1 /dev/sda2 /mnt/hdd ntfs-3g defaults,umask=022 0 0 /dev/sdb4 /mnt/win10 ntfs-3g defaults,umask=022 0 0 /dev/sdb5 /mnt/ssd ntfs-3g defaults,umask=022 0 0 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0 /dev/fd0 /mnt/floppy auto noauto 0 0
使配置生效.
mount -a