http://freebsdwiki.net/index.php?title=Gotchas,_Linux&feed=atom&action=historyGotchas, Linux - Revision history2024-03-29T08:58:33ZRevision history for this page on the wikiMediaWiki 1.18.0http://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=11531&oldid=prev68.189.250.56 at 05:39, 10 November 20092009-11-10T05:39:38Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 05:39, 10 November 2009</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Things you should know if you're coming to FreeBSD from Linux==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Things you should know if you're coming to FreeBSD from Linux==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># The kernels are both modular, but the commands for loading/viewing/unloading kernel modules are different -- [[kldstat]], [[kldload]], [[kldunload]] instead of Linux' "lsmod", "insmod" and "rmmod".)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># The kernels are both modular, but the commands for loading/viewing/unloading kernel modules are different -- [[kldstat]], [[kldload]], [[kldunload]] instead of Linux' "lsmod", "insmod<ins class="diffchange diffchange-inline">/modprobe</ins>" and "rmmod<ins class="diffchange diffchange-inline">/modprobe -r</ins>".)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root - and you NEED to be able to su to root, because by default you can't log in directly as root over ssh.  (and this is a Good Thing, and should not be changed.)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root - and you NEED to be able to su to root, because by default you can't log in directly as root over ssh.  (and this is a Good Thing, and should not be changed.)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:10746:newid:11531 -->
</table>68.189.250.56http://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=10746&oldid=prev145.116.5.243: added Arch to notion of linux distro's using bsd-style init. Because it seems the Arch user base is growing fast:)2008-11-23T01:24:53Z<p>added Arch to notion of linux distro's using bsd-style init. Because it seems the Arch user base is growing fast:)</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 01:24, 23 November 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root - and you NEED to be able to su to root, because by default you can't log in directly as root over ssh.  (and this is a Good Thing, and should not be changed.)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root - and you NEED to be able to su to root, because by default you can't log in directly as root over ssh.  (and this is a Good Thing, and should not be changed.)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Init scripts: [[BSD]] style differs from the [[SysV]] style many/most Linux distros (Slackware being <del class="diffchange diffchange-inline">one exception</del>) use.  [[runlevels]] mean different things in BSD-style *nixes, and [[init scripts]] are handled differently - in BSD-style init, rc is configured via a single config file (/etc/rc.conf) with the system rc scripts stored under /etc/rc.d, and local daemon startup scripts in /usr/local/etc/rc.d.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Init scripts: [[BSD]] style differs from the [[SysV]] style many/most Linux distros (Slackware <ins class="diffchange diffchange-inline">and Arch </ins>being <ins class="diffchange diffchange-inline">noteable exceptions</ins>) use.  [[runlevels]] mean different things in BSD-style *nixes, and [[init scripts]] are handled differently - in BSD-style init, rc is configured via a single config file (/etc/rc.conf) with the system rc scripts stored under /etc/rc.d, and local daemon startup scripts in /usr/local/etc/rc.d.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:10511:newid:10746 -->
</table>145.116.5.243http://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=10511&oldid=prev63.249.108.162: oops wrong one2008-07-28T04:25:38Z<p>oops wrong one</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 04:25, 28 July 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Init scripts: [[BSD]] style differs from the [[SysV]] style many/most Linux distros (Slackware being one exception) use.  [[runlevels]] mean different things in BSD-style *nixes, and [[init scripts]] are handled differently - in BSD-style init, rc is configured via a single config file (/etc/rc.conf) with the system rc scripts stored under /etc/rc.d, and local daemon startup scripts in /usr/local/etc/rc.d.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Init scripts: [[BSD]] style differs from the [[SysV]] style many/most Linux distros (Slackware being one exception) use.  [[runlevels]] mean different things in BSD-style *nixes, and [[init scripts]] are handled differently - in BSD-style init, rc is configured via a single config file (/etc/rc.conf) with the system rc scripts stored under /etc/rc.d, and local daemon startup scripts in /usr/local/etc/rc.d.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, <del class="diffchange diffchange-inline">its </del>usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, <ins class="diffchange diffchange-inline">it's </ins>usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># If in doubt, read the Handbook (or ask here).</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># If in doubt, read the Handbook (or ask here).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Different filesystems: linux uses ext2/ext3/reiserfs by default (usually) and FreeBSD uses UFS. It does not do journaling, but instead uses a system called soft-updates. Have a look [[http://www.usenix.org/publications/library/proceedings/usenix2000/general/seltzer.html here]] if you would like to know what this means. It seems that [[http://www.freebsd.org/projects/summerofcode.html Google]] might be helping to change this though.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Different filesystems: linux uses ext2/ext3/reiserfs by default (usually) and FreeBSD uses UFS. It does not do journaling, but instead uses a system called soft-updates. Have a look [[http://www.usenix.org/publications/library/proceedings/usenix2000/general/seltzer.html here]] if you would like to know what this means. It seems that [[http://www.freebsd.org/projects/summerofcode.html Google]] might be helping to change this though.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 12:</td>
<td colspan="2" class="diff-lineno">Line 12:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># [[bash]] is not the default shell. [[csh]] (actually [[tcsh]]) is the default for root, sh is the default for normal users. Every other shell under the sun can be installed via the ports tree, and you can use  [[chsh]] to change it for a specific user. Users seeking a decent shell (both [[sh]]-compatible and friendly for interactive use) should consider [[ksh]] or [[pdksh]] as well as bash.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># [[bash]] is not the default shell. [[csh]] (actually [[tcsh]]) is the default for root, sh is the default for normal users. Every other shell under the sun can be installed via the ports tree, and you can use  [[chsh]] to change it for a specific user. Users seeking a decent shell (both [[sh]]-compatible and friendly for interactive use) should consider [[ksh]] or [[pdksh]] as well as bash.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Most linux distros use [[vim]], FreeBSD uses [[nvi]] by default. You can change this if it matters to you. Use /usr/ports/editors/vim-lite if you do not want to install the [[X windowing system]] else use /usr/ports/editors/vim.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Most linux distros use [[vim]], FreeBSD uses [[nvi]] by default. You can change this if it matters to you. Use /usr/ports/editors/vim-lite if you do not want to install the [[X windowing system]] else use /usr/ports/editors/vim.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Your NIC is no longer eth0 or eth1 or whatever. FreeBSD names <del class="diffchange diffchange-inline">it's </del>interfaces by the driver they use; you'll see rl0, ed0, hme0, etc.  FreeBSD 6.x includes interface renaming, so those that like generic names can use them.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Your NIC is no longer eth0 or eth1 or whatever. FreeBSD names <ins class="diffchange diffchange-inline">its </ins>interfaces by the driver they use; you'll see rl0, ed0, hme0, etc.  FreeBSD 6.x includes interface renaming, so those that like generic names can use them.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># /etc/mtab doesn't show you mounts. [[mount]] and [[df]] do.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># /etc/mtab doesn't show you mounts. [[mount]] and [[df]] do.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Your hard disks are no longer /dev/hda or /dev/sda. Now they are /dev/ad0s1a. See [[partitions]].</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Your hard disks are no longer /dev/hda or /dev/sda. Now they are /dev/ad0s1a. See [[partitions]].</div></td></tr>
</table>63.249.108.162http://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=10510&oldid=prev63.249.108.162: typo2008-07-28T04:25:07Z<p>typo</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 04:25, 28 July 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Init scripts: [[BSD]] style differs from the [[SysV]] style many/most Linux distros (Slackware being one exception) use.  [[runlevels]] mean different things in BSD-style *nixes, and [[init scripts]] are handled differently - in BSD-style init, rc is configured via a single config file (/etc/rc.conf) with the system rc scripts stored under /etc/rc.d, and local daemon startup scripts in /usr/local/etc/rc.d.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Init scripts: [[BSD]] style differs from the [[SysV]] style many/most Linux distros (Slackware being one exception) use.  [[runlevels]] mean different things in BSD-style *nixes, and [[init scripts]] are handled differently - in BSD-style init, rc is configured via a single config file (/etc/rc.conf) with the system rc scripts stored under /etc/rc.d, and local daemon startup scripts in /usr/local/etc/rc.d.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, <del class="diffchange diffchange-inline">it's </del>usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, <ins class="diffchange diffchange-inline">its </ins>usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># If in doubt, read the Handbook (or ask here).</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># If in doubt, read the Handbook (or ask here).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Different filesystems: linux uses ext2/ext3/reiserfs by default (usually) and FreeBSD uses UFS. It does not do journaling, but instead uses a system called soft-updates. Have a look [[http://www.usenix.org/publications/library/proceedings/usenix2000/general/seltzer.html here]] if you would like to know what this means. It seems that [[http://www.freebsd.org/projects/summerofcode.html Google]] might be helping to change this though.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Different filesystems: linux uses ext2/ext3/reiserfs by default (usually) and FreeBSD uses UFS. It does not do journaling, but instead uses a system called soft-updates. Have a look [[http://www.usenix.org/publications/library/proceedings/usenix2000/general/seltzer.html here]] if you would like to know what this means. It seems that [[http://www.freebsd.org/projects/summerofcode.html Google]] might be helping to change this though.</div></td></tr>
</table>63.249.108.162http://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=6045&oldid=prevNinereasons: /* Things you should know if you're coming to FreeBSD from Linux */2006-04-06T19:35:12Z<p><span class="autocomment">Things you should know if you're coming to FreeBSD from Linux</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 19:35, 6 April 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 16:</td>
<td colspan="2" class="diff-lineno">Line 16:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Your hard disks are no longer /dev/hda or /dev/sda. Now they are /dev/ad0s1a. See [[partitions]].</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Your hard disks are no longer /dev/hda or /dev/sda. Now they are /dev/ad0s1a. See [[partitions]].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># [[devinfo]] and [[swapinfo]] will do a lot of [[sysctl]] magic for you.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># [[devinfo]] and [[swapinfo]] will do a lot of [[sysctl]] magic for you.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Software RAID? See [[vinum]] and [[RAID1, Software, How to setup]].  (Note:  vinum is dead <del class="diffchange diffchange-inline">in </del>5.<del class="diffchange diffchange-inline">x, </del>use gvinum, gmirror, or graid)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Software RAID? See [[vinum]] and [[RAID1, Software, How to setup]].  (Note:  vinum is dead <ins class="diffchange diffchange-inline">since </ins>5.<ins class="diffchange diffchange-inline">3; </ins>use <ins class="diffchange diffchange-inline">[[</ins>gvinum<ins class="diffchange diffchange-inline">]]</ins>, gmirror, or graid)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Disk encryption? [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html It's in the Handbook]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Disk encryption? [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html It's in the Handbook]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Shell scripts do not use '''seq 1 10'''. They use '''jot 10 1''' instead.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Shell scripts do not use '''seq 1 10'''. They use '''jot 10 1''' instead.</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:5159:newid:6045 -->
</table>Ninereasonshttp://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=5159&oldid=prevJimbo at 05:22, 25 January 20062006-01-25T05:22:42Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 05:22, 25 January 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Things you should know if you're coming to FreeBSD from Linux==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Things you should know if you're coming to FreeBSD from Linux==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># The kernels are both modular, but the commands for loading/viewing/unloading kernel modules are different -- [[kldstat]], [[kldload]], [[kldunload]] instead of Linux' "lsmod", "insmod" and "rmmod".)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># The kernels are both modular, but the commands for loading/viewing/unloading kernel modules are different -- [[kldstat]], [[kldload]], [[kldunload]] instead of Linux' "lsmod", "insmod" and "rmmod".)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root <ins class="diffchange diffchange-inline">- and you NEED to be able to su to root, because by default you can't log in directly as root over ssh</ins>. <ins class="diffchange diffchange-inline"> (and this is a Good Thing, and should not be changed.)</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Init scripts: [[BSD]] style differs from the [[SysV]] style many/most Linux distros (Slackware being one exception) use.  [[runlevels]] mean different things in BSD-style *nixes, and [[init scripts]] are handled differently - in BSD-style init, rc is configured via a single config file (/etc/rc.conf) with the system rc scripts stored under /etc/rc.d, and local daemon startup scripts in /usr/local/etc/rc.d.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Init scripts: [[BSD]] style differs from the [[SysV]] style many/most Linux distros (Slackware being one exception) use.  [[runlevels]] mean different things in BSD-style *nixes, and [[init scripts]] are handled differently - in BSD-style init, rc is configured via a single config file (/etc/rc.conf) with the system rc scripts stored under /etc/rc.d, and local daemon startup scripts in /usr/local/etc/rc.d.</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3668:newid:5159 -->
</table>Jimbohttp://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=3668&oldid=prevJimbo: we can hash this back and forth for a while til we're both happy =)2006-01-25T05:16:21Z<p>we can hash this back and forth for a while til we're both happy =)</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 05:16, 25 January 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Init scripts: <del class="diffchange diffchange-inline">you're going to be doing it </del>[[BSD]] style<del class="diffchange diffchange-inline">, not </del>[[SysV]] style <del class="diffchange diffchange-inline">as in </del>most Linux distros (Slackware being <del class="diffchange diffchange-inline">an </del>exception<del class="diffchange diffchange-inline">, although some other linuxes can be set up to do BSD-style init, it's usually defaulted to SysV</del>. <del class="diffchange diffchange-inline">Translation: </del>[[runlevels]] mean different things in BSD and [[init scripts]] are handled differently<del class="diffchange diffchange-inline">.  Everything </del>is <del class="diffchange diffchange-inline">handled </del>via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Init scripts: [[BSD]] style <ins class="diffchange diffchange-inline">differs from the </ins>[[SysV]] style <ins class="diffchange diffchange-inline">many/</ins>most Linux distros (Slackware being <ins class="diffchange diffchange-inline">one </ins>exception<ins class="diffchange diffchange-inline">) use</ins>. <ins class="diffchange diffchange-inline"> </ins>[[runlevels]] mean different things in BSD<ins class="diffchange diffchange-inline">-style *nixes, </ins>and [[init scripts]] are handled differently <ins class="diffchange diffchange-inline">- in BSD-style init, rc </ins>is <ins class="diffchange diffchange-inline">configured </ins>via a single config file (/etc/rc.conf) with the <ins class="diffchange diffchange-inline">system rc </ins>scripts stored under <ins class="diffchange diffchange-inline">/etc/rc.d, and local daemon startup scripts in /usr/local</ins>/etc/rc.d.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td></tr>
</table>Jimbohttp://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=3666&oldid=prevDave: placement was ugh, but it was relevant to the section it was added to...edited for clarity.2006-01-24T14:26:29Z<p>placement was ugh, but it was relevant to the section it was added to...edited for clarity.</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:26, 24 January 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in most Linux distros. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in most Linux distros <ins class="diffchange diffchange-inline">(Slackware being an exception, although some other linuxes can be set up to do BSD-style init, it's usually defaulted to SysV</ins>. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3662:newid:3666 -->
</table>Davehttp://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=3662&oldid=prevJimbo: info on how Slackware in particular works not really relevant to new FreeBSD users - the Slack users already know, the rest don't need to2006-01-24T13:41:59Z<p>info on how Slackware in particular works not really relevant to new FreeBSD users - the Slack users already know, the rest don't need to</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 13:41, 24 January 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in Linux. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d<del class="diffchange diffchange-inline">. Note: Slackware Linux also uses BSD-style init</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in <ins class="diffchange diffchange-inline">most </ins>Linux <ins class="diffchange diffchange-inline">distros</ins>. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3661:newid:3662 -->
</table>Jimbohttp://freebsdwiki.net/index.php?title=Gotchas,_Linux&diff=3661&oldid=prev209.161.227.206 at 02:47, 24 January 20062006-01-24T02:47:54Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 02:47, 24 January 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You need to be a member of the wheel group in order to su to root.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No iptables/netfilter: you have your choice of IPFW, PF, or IPFilter (not recommended for SMP systems).  You can either recompile the kernel to include these, or load the kernel modules at runtime.  QoS and bandwidth throttling are handled via either Dummynet (ipfw) or AltQ (pf)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in Linux. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Init scripts: you're going to be doing it [[BSD]] style, not [[SysV]] style as in Linux. Translation: [[runlevels]] mean different things in BSD and [[init scripts]] are handled differently.  Everything is handled via a single config file (/etc/rc.conf) with the scripts stored under /etc/rc.d<ins class="diffchange diffchange-inline">. Note: Slackware Linux also uses BSD-style init</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># No /[[proc]] tree. If you're used to banging around /proc to find system info, man [[sysctl]]. If you installed linux-compatibility, see /usr/compat/linux/proc</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># You don't '''have''' to compile everything from ports, it's usually better for your particular system if you ''do''. See [[pkg_add]] and the other pkg tools.</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3659:newid:3661 -->
</table>209.161.227.206