summaryrefslogtreecommitdiffstats
path: root/sbin/swapon
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2004-09-15 08:19:03 +0000
committerdelphij <delphij@FreeBSD.org>2004-09-15 08:19:03 +0000
commite18510b418bf9c57ecf356f49053b7b9c7252b1e (patch)
tree7cc251d38d70c064c28cf8e560e6454d72016973 /sbin/swapon
parent9eb29202ee07f54c8606e3159a21849418067aa0 (diff)
downloadFreeBSD-src-e18510b418bf9c57ecf356f49053b7b9c7252b1e.zip
FreeBSD-src-e18510b418bf9c57ecf356f49053b7b9c7252b1e.tar.gz
Clear all "active partition" bits before we set a new one.
This adds a safebelt that prevents users to mark more than one "active" partitions, which will lead to a unbootable machine, especially in multi-boot configurations. PR: bin/71404 MFC After: 3 days Approved by: murray (mentor)
Diffstat (limited to 'sbin/swapon')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud