|
发表于 2005-1-9 10:38:26
|
显示全部楼层
我也刚接触,现在我知道的区别就是在
etc/rc.d里
sysv的改起动level目录里的link文件名前面的K或S
而bsd的直接改每个服务程序的权限就可以了,只要有执行权限,开机的时候它就会起动。反之就不会起动。
其他的我也迷糊着呢!哪位详细说说。
具体有什么好处我也不是很清楚,但我一个老师就说他不用slackware的原因就是不喜欢这样的起动风格。
可我感觉还可以啊,只是方式不同,还不是干同样的事情。
下面的就是我机器里的。
sleetdrop@NIC-Jiang:/etc/rc.d$ ls -al
总用量 220
drwxr-xr-x 2 root root 1136 2004-09-13 19:19 .
drwxr-xr-x 59 root root 5512 2005-01-08 15:55 ..
lrwxrwxrwx 1 root root 4 2004-08-26 02:12 rc.0 -> rc.6
-rwxr-xr-x 1 root root 893 2003-01-30 05:43 rc.4
-rwxr-xr-x 1 root root 5303 2004-06-22 00:32 rc.6
-rwxr-xr-x 1 root root 466 2004-02-26 08:10 rc.acpid
-rwxr-xr-x 1 root root 1605 2004-05-30 04:12 rc.alsa
-rw-r--r-- 1 root root 1032 2003-02-02 11:47 rc.atalk
-rw-r--r-- 1 root root 1031 2003-09-22 03:07 rc.bind
-rw-r--r-- 1 root root 3949 2003-12-16 05:23 rc.cups
-rw-r--r-- 1 root root 3947 2004-09-20 07:50 rc.cups.new
-rw-r--r-- 1 root root 512 2004-05-15 06:17 rc.dnsmasq
-rwxr-xr-x 1 root root 119 2004-05-30 12:19 rc.font.new
-rwxr-xr-x 1 root root 1148 2004-08-26 02:28 rc.gpm
-rwxr-xr-x 1 root root 1511 2004-06-21 11:34 rc.hotplug
-rwxr-xr-x 1 root root 401 2003-03-06 05:28 rc.httpd
-rwxr-xr-x 1 root root 5774 2004-06-07 14:42 rc.inet1
-rw-r--r-- 1 root root 897 2004-08-26 02:30 rc.inet1.conf
-rwxr-xr-x 1 root root 4583 2004-06-07 14:08 rc.inet2
-rwxr-xr-x 1 root root 497 2003-09-12 11:27 rc.inetd
-rw-r--r-- 1 root root 1924 2003-09-14 07:10 rc.ip_forward
-rwxr-xr-x 1 root root 1989 2004-06-21 22:04 rc.K
-rwxr-xr-x 1 root root 173 2004-11-06 19:35 rc.local
-rw-r--r-- 1 root root 580 2004-05-30 06:16 rc.lprng
-rwxr-xr-x 1 root root 7906 2004-06-20 11:42 rc.M
-rwxr-xr-x 1 root root 25474 2004-09-08 16:21 rc.modules
-rwxr-xr-x 1 root root 2259 2004-05-20 07:00 rc.mysqld
-rwxr-xr-x 1 root root 2389 2004-06-07 05:52 rc.nfsd
-rwxr-xr-x 1 root root 4790 2004-05-30 12:31 rc.pcmcia
-rw-r--r-- 1 root root 905 2003-09-14 07:38 rc.portmap
-rw-r--r-- 1 root root 508 2004-09-13 19:27 rc.pptpd
-rwxr-xr-x 1 root root 10324 2004-06-20 12:26 rc.S
-rwxr-xr-x 1 root root 791 2004-05-11 13:32 rc.samba
-rwxr-xr-x 1 root root 687 2002-06-05 05:09 rc.sendmail
-rwxr-xr-x 1 root root 2895 2004-05-28 05:25 rc.serial
-rwxr-xr-x 1 root root 1222 2004-04-24 06:00 rc.sshd
-rwxr-xr-x 1 root root 860 2004-05-03 06:07 rc.syslog
-rwxr-xr-x 1 root root 1740 1999-09-12 04:48 rc.sysvinit
-rwxr-xr-x 1 root root 1396 2004-06-14 14:59 rc.udev
-rwxr-xr-x 1 root root 3767 2004-06-07 15:22 rc.wireless
-rw------- 1 root root 6177 2004-06-07 15:22 rc.wireless.conf
-rwxr-xr-x 1 root root 2323 2004-06-06 08:47 rc.yp |
|