aboutsummaryrefslogtreecommitdiff
path: root/rescue
Commit message (Collapse)AuthorAgeFilesLines
* Significant upgrades to sa(4) and mt(1).Kenneth D. Merry2015-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The primary focus of these changes is to modernize FreeBSD's tape infrastructure so that we can take advantage of some of the features of modern tape drives and allow support for LTFS. Significant changes and new features include: o sa(4) driver status and parameter information is now exported via an XML structure. This will allow for changes and improvements later on that will not break userland applications. The old MTIOCGET status ioctl remains, so applications using the existing interface will not break. o 'mt status' now reports drive-reported tape position information as well as the previously available calculated tape position information. These numbers will be different at times, because the drive-reported block numbers are relative to BOP (Beginning of Partition), but the block numbers calculated previously via sa(4) (and still provided) are relative to the last filemark. Both numbers are now provided. 'mt status' now also shows the drive INQUIRY information, serial number and any position flags (BOP, EOT, etc.) provided with the tape position information. 'mt status -v' adds information on the maximum possible I/O size, and the underlying values used to calculate it. o The extra sa(4) /dev entries (/dev/saN.[0-3]) have been removed. The extra devices were originally added as place holders for density-specific device nodes. Some OSes (NetBSD, NetApp's OnTap and Solaris) have had device nodes that, when you write to them, will automatically select a given density for particular tape drives. This is a convenient way of switching densities, but it was never implemented in FreeBSD. Only the device nodes were there, and that sometimes confused users. For modern tape devices, the density is generally not selectable (e.g. with LTO) or defaults to the highest availble density when the tape is rewritten from BOT (e.g. TS11X0). So, for most users, density selection won't be necessary. If they do need to select the density, it is easy enough to use 'mt density' to change it. o Protection information is now supported. This is either a Reed-Solomon CRC or CRC32 that is included at the end of each block read and written. On write, the tape drive verifies the CRC, and on read, the tape drive provides a CRC for the userland application to verify. o New, extensible tape driver parameter get/set interface. o Density reporting information. For drives that support it, 'mt getdensity' will show detailed information on what formats the tape drive supports, and what formats the tape drive supports. o Some mt(1) functionality moved into a new mt(3) library so that external applications can reuse the code. o The new mt(3) library includes helper routines to aid in parsing the XML output of the sa(4) driver, and build a tree of driver metadata. o Support for the MTLOAD (load a tape in the drive) and MTWEOFI (write filemark immediate) ioctls needed by IBM's LTFS implementation. o Improve device departure behavior for the sa(4) driver. The previous implementation led to hangs when the device was open. o This has been tested on the following types of drives: IBM TS1150 IBM TS1140 IBM LTO-6 IBM LTO-5 HP LTO-2 Seagate DDS-4 Quantum DLT-4000 Exabyte 8505 Sony DDS-2 contrib/groff/tmac/doc-syms, share/mk/bsd.libnames.mk, lib/Makefile, Add libmt. lib/libmt/Makefile, lib/libmt/mt.3, lib/libmt/mtlib.c, lib/libmt/mtlib.h, New mt(3) library that contains functions moved from mt(1) and new functions needed to interact with the updated sa(4) driver. This includes XML parser helper functions that application writers can use when writing code to query tape parameters. rescue/rescue/Makefile: Add -lmt to CRUNCH_LIBS. src/share/man/man4/mtio.4 Clarify this man page a bit, and since it contains what is essentially the mtio.h header file, add new ioctls and structure definitions from mtio.h. src/share/man/man4/sa.4 Update BUGS and maintainer section. sys/cam/scsi/scsi_all.c, sys/cam/scsi/scsi_all.h: Add SCSI SECURITY PROTOCOL IN/OUT CDB definitions and CDB building functions. sys/cam/scsi/scsi_sa.c sys/cam/scsi/scsi_sa.h Many tape driver changes, largely outlined above. Increase the sa(4) driver read/write timeout from 4 to 32 minutes. This is based on the recommended values for IBM LTO 5/6 drives. This may also avoid timeouts for other tape hardware that can take a long time to do retries and error recovery. Longer term, a better way to handle this is to ask the drive for recommended timeout values using the REPORT SUPPORTED OPCODES command. Modern IBM and Oracle tape drives at least support that command, and it would allow for more accurate timeout values. Add XML status generation. This is done with a series of macros to eliminate as much duplicate code as possible. The new XML-based status values are reported through the new MTIOCEXTGET ioctl. Add XML driver parameter reporting, using the new MTIOCPARAMGET ioctl. Add a new driver parameter setting interface, using the new MTIOCPARAMSET and MTIOCSETLIST ioctls. Add a new MTIOCRBLIM ioctl to get block limits information. Add CCB/CDB building routines scsi_locate_16, scsi_locate_10, and scsi_read_position_10(). scsi_locate_10 implements the LOCATE command, as does the existing scsi_set_position() command. It just supports additional arguments and features. If/when we figure out a good way to provide backward compatibility for older applications using the old function API, we can just revamp scsi_set_position(). The same goes for scsi_read_position_10() and the existing scsi_read_position() function. Revamp sasetpos() to take the new mtlocate structure as an argument. It now will use either scsi_locate_10() or scsi_locate_16(), depending upon the arguments the user supplies. As before, once we change position we don't have a clear idea of what the current logical position of the tape drive is. For tape drives that support long form position data, we read the current position and store that for later reporting after changing the position. This should help applications like Bacula speed tape access under FreeBSD once they are modified to support the new ioctls. Add a new quirk, SA_QUIRK_NO_LONG_POS, that is set for all drives that report SCSI-2 or older, as well as drives that report an Illegal Request type error for READ POSITION with the long format. So we should automatically detect drives that don't support the long form and stop asking for it after an initial try. Add a partition number to the sa(4) softc. Improve device departure handling. The previous implementation led to hangs when the device was open. If an application had the sa(4) driver open, and attempted to close it after it went away, the cam_periph_release() call in saclose() would cause the periph to get destroyed because that was the last reference to it. Because destroy_dev() was called from the sa(4) driver's cleanup routine (sacleanup()), and would block waiting for the close to happen, a deadlock would result. So instead of calling destroy_dev() from the cleanup routine, call destroy_dev_sched_cb() from saoninvalidate() and wait for the callback. Acquire a reference for devfs in saregister(), and release it in the new sadevgonecb() routine when all devfs devices for the particular sa(4) driver instance are gone. Add a new function, sasetupdev(), to centralize setting per-instance devfs device parameters instead of repeating the code in saregister(). Add an open count to the softc, so we know how many peripheral driver references are a result of open sessions. Add the D_TRACKCLOSE flag to the cdevsw flags so that we get a 1:1 mapping of open to close calls instead of a N:1 mapping. This should be a no-op for everything except the control device, since we don't allow more than one open on non-control devices. However, since we do allow multiple opens on the control device, the combination of the open count and the D_TRACKCLOSE flag should result in an accurate peripheral driver reference count, and an accurate open count. The accurate open count allows us to release all peripheral driver references that are the result of open contexts once we get the callback from devfs. sys/sys/mtio.h: Add a number of new mt(4) ioctls and the requisite data structures. None of the existing interfaces been removed or changed. This includes definitions for the following new ioctls: MTIOCRBLIM /* get block limits */ MTIOCEXTLOCATE /* seek to position */ MTIOCEXTGET /* get tape status */ MTIOCPARAMGET /* get tape params */ MTIOCPARAMSET /* set tape params */ MTIOCSETLIST /* set N params */ usr.bin/mt/Makefile: mt(1) now depends on libmt, libsbuf and libbsdxml. usr.bin/mt/mt.1: Document new mt(1) features and subcommands. usr.bin/mt/mt.c: Implement support for mt(1) subcommands that need to use getopt(3) for their arguments. Implement a new 'mt status' command to replace the old 'mt status' command. The old status command has been renamed 'ostatus'. The new status function uses the MTIOCEXTGET ioctl, and therefore parses the XML data to determine drive status. The -x argument to 'mt status' allows the user to dump out the raw XML reported by the kernel. The new status display is mostly the same as the old status display, except that it doesn't print the redundant density mode information, and it does print the current partition number and position flags. Add a new command, 'mt locate', that will supersede the old 'mt setspos' and 'mt sethpos' commands. 'mt locate' implements all of the functionality of the MTIOCEXTLOCATE ioctl, and allows the user to change the logical position of the tape drive in a number of ways. (Partition, block number, file number, set mark number, end of data.) The immediate bit and the explicit address bits are implemented, but not documented in the man page. Add a new 'mt weofi' command to use the new MTWEOFI ioctl. This allows the user to ask the drive to write a filemark without waiting around for the operation to complete. Add a new 'mt getdensity' command that gets the XML-based tape drive density report from the sa(4) driver and displays it. This uses the SCSI REPORT DENSITY SUPPORT command to get comprehensive information from the tape drive about what formats it is able to read and write. Add a new 'mt protect' command that allows getting and setting tape drive protection information. The protection information is a CRC tacked on to the end of every read/write from and to the tape drive. Sponsored by: Spectra Logic MFC after: 1 month Notes: svn path=/head/; revision=279219
* Merge xz 5.2.0.Rui Paulo2015-02-091-2/+4
| | | | | | | | | | | | | | | | This brings support for multi-threaded compression. This brings close N times faster compression where N is the number of CPU cores. Because of this, liblzma now depends on libthr. Soon libarchive will be modified to use the new lzma API. Thanks to antoine@ for the exp-run. Differential Revision: https://reviews.freebsd.org/D1786 Reviewed by: bapt Notes: svn path=/head/; revision=278433
* Only build vi support into rescue if MK_VI != noEnji Cooper2015-01-251-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=277665
* Add sleep(1) to /rescue. This adds 664 bytes to the binary on amd64 butXin LI2014-12-031-1/+2
| | | | | | | | | | it's pretty useful for shell scripts. MFC after: 1 month Sponsored by: iXsystems, Inc. Notes: svn path=/head/; revision=275435
* Add libxo, now needed by df(1).Marcel Moolenaar2014-11-071-1/+1
| | | | | | | Pointed out by: rodrigc@ (thanks!) Notes: svn path=/head/; revision=274217
* Remove duplicate prog.Yoshihiro Takahashi2014-09-281-1/+0
| | | | Notes: svn path=/head/; revision=272245
* Add zdb into rescue environment.Xin LI2014-08-201-2/+4
| | | | | | | | | | | | | On amd64, this would increase the binary size by 1.1MiB and make it possible to examine zpool status offline, useful for recovery and diagnostic purposes. Submitted by: sef Obtained from: FreeNAS MFC after: 2 weeks Notes: svn path=/head/; revision=270189
* In r232153, libarchive 3.0.3 was imported, replacing the archive_hash.hDimitry Andric2014-07-261-2/+7
| | | | | | | | | | | | | | | | | | | header with archive_crypto_private.h, and its ARCHIVE_HASH_xxx macros were renamed to ARCHIVE_CRYPTO_xxx. Rename these macros in lib/libarchive/config_freebsd.h, to re-enable the hashes for libarchive again. This affects the mtree format writer, and the xar format reader and writer modules. This also requires changes in the library order for statically linking rescue, otherwise ld would complain about redefined symbols. Thanks to jkim for pointing out the solution. Reviewed by: kientzle MFC after: 1 week Notes: svn path=/head/; revision=269125
* Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-07-171-2/+2
| | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=268804
* Remove ia64.Marcel Moolenaar2014-07-071-4/+0
| | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan Notes: svn path=/head/; revision=268351
* Minor style nits...Warner Losh2014-05-231-2/+2
| | | | Notes: svn path=/head/; revision=266569
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-062-2/+2
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* - Fix build WITHOUT_ZFS/WITHOUT_CDDL after r265229, bin/ps needs libjail.Bryan Drewery2014-05-021-2/+2
| | | | | | | | MFC after: 2 weeks X-MFC-with: r265229 Notes: svn path=/head/; revision=265239
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-131-1/+1
| | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* Remove IPX support.Gleb Smirnoff2014-03-141-3/+0
| | | | | | | | | | | | | | IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE. Notes: svn path=/head/; revision=263140
* - Trim an unused and bogus Makefile for mount_smbfs.Davide Italiano2013-06-281-0/+2
| | | | | | | | | - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch. Notes: svn path=/head/; revision=252356
* Add less to rescue build. On amd64, this increases rescue size by aboutXin LI2013-05-131-0/+3
| | | | | | | | | 130KB or 2.4%. MFC after: 1 month Notes: svn path=/head/; revision=250626
* Remove all legacy ATA code parts, not used since options ATA_CAM enabled inAlexander Motin2013-04-041-1/+1
| | | | | | | | | | | | most kernels before FreeBSD 9.0. Remove such modules and respective kernel options: atadisk, ataraid, atapicd, atapifd, atapist, atapicam. Remove the atacontrol utility and some man pages. Remove useless now options ATA_CAM. No objections: current@, stable@ MFC after: never Notes: svn path=/head/; revision=249083
* WiP merge of libzfs_core (MFV r238590, r238592)Martin Matuska2013-03-051-1/+1
| | | | | | | not yet working, ioctl handling needs to be changed Notes: svn path=/projects/libzfs_core/; revision=247831
* Disconnect non-MPSAFE SMBFS from the build in preparation for droppingAttilio Rao2012-10-181-2/+0
| | | | | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC. Notes: svn path=/head/; revision=241680
* Disconnect non-MPSAFE NTFS from the build in preparation for droppingAttilio Rao2012-10-171-1/+1
| | | | | | | | | | | | | | | | | GIANT from VFS. This code is particulary broken and fragile and other in-kernel implementations around, found in other operating systems, don't really seem clean and solid enough to be imported at all. If someone wants to reconsider in-kernel NTFS implementation for inclusion again, a fair effort for completely fixing and cleaning it up is expected. In the while NTFS regular users can use FUSE interface and ntfs-3g port to work with their NTFS partitions. This is not targeted for MFC. Notes: svn path=/head/; revision=241636
* Disconnect non-MPSAFE NWFS from the build in preparation for droppingAttilio Rao2012-10-171-4/+0
| | | | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS. In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically. This is not targeted for MFC. Notes: svn path=/head/; revision=241629
* unbreak build: rescue now needs -ljail if MK_ZFS is onBaptiste Daroussin2012-09-201-1/+1
| | | | Notes: svn path=/head/; revision=240740
* Partial MFV (illumos-gate 13753:2aba784c276b)Martin Matuska2012-07-301-1/+1
| | | | | | | | | | | | 2762 zpool command should have better support for feature flags References: https://www.illumos.org/issues/2762 MFC after: 2 weeks Notes: svn path=/head/; revision=238926
* Disable jail support in ifconfig when either building a rescueRobert Millan2012-02-141-1/+1
| | | | | | | | | | image or MK_JAIL knob has been set to "no". Reviewed by: bz Approved by: adrian (mentor) Notes: svn path=/head/; revision=231642
* -lreadline is not required anymore.Max Khon2011-11-291-1/+1
| | | | Notes: svn path=/head/; revision=228112
* -lpthread is required by -lzfs so should be later in LIBS list.Max Khon2011-11-281-1/+1
| | | | | | | | | There were no "undefined symbol pthread_xxx" errors during the link before this fix only because of STATIC_LIB_REQUIRE() declarations in lib/libthr/thread/thr_init.c. Notes: svn path=/head/; revision=228074
* Add netcat (nc) to /rescue.Dag-Erling Smørgrav2011-11-151-1/+1
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=227531
* Finally... Import the latest open-source ZFS version - (SPA) 28.Pawel Jakub Dawidek2011-02-271-1/+1
| | | | | | | | | | | | | | | | | | Few new things available from now on: - Data deduplication. - Triple parity RAIDZ (RAIDZ3). - zfs diff. - zpool split. - Snapshot holds. - zpool import -F. Allows to rewind corrupted pool to earlier transaction group. - Possibility to import pool in read-only mode. MFC after: 1 month Notes: svn path=/head/; revision=219089
* Break out the rules which generate crunchgen'ed binaries into a separateAdrian Chadd2010-11-131-149/+4
| | | | | | | | | | | | | | | | | | | .mk file so they can be reused. Introduce a new option, CRUNCH_BUILDTOOLS, which lists the binaries that require tools built in the local architecture. sh and csh both require this. It was previously hardcoded in rescue/rescue/Makefile . Introduce a new option, CRUNCH_SHLIBS, which lists the shared libraries to link against. These override the static libraries listed in CRUNCH_LIBS. Some build environments may wish to use a handful of shared libraries (eg libc.so) so other small, dynamic binaries can be run in the environment. Remove the now-shared code from rescue/rescue/Makefile and introduce the CRUNCH_BUILDTOOLS option for the above shells. Notes: svn path=/head/; revision=215226
* MFtbemd:Warner Losh2010-08-231-4/+4
| | | | | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform. Notes: svn path=/head/; revision=211725
* Enable liblzma support in libarchiveMartin Matuska2010-05-101-0/+4
| | | | | | | | | | | Adjust dependencies for programs using libarchive Add xz and linkage against liblzma to rescue system Approved by: kientzle, delphij (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=207849
* Remove libulog from the bootstrap again.Ed Schouten2010-01-211-1/+1
| | | | | | | | | libulog now only provides functions that are used by various packages from the ports tree, namely the libutempter ones. There is no reason to link it into the crunch/fixit binaries anymore. Notes: svn path=/head/; revision=202755
* Unbreak rescue(8). We should also link against libulog now.Ed Schouten2009-12-051-1/+1
| | | | Notes: svn path=/head/; revision=200169
* Add the "vnet" and "-vnet" options, to allow moving interfaces betweenJamie Gritton2009-06-241-1/+1
| | | | | | | | | jails with VIMAGE. Approved by: bz (mentor) Notes: svn path=/head/; revision=194871
* Add zfs/zpool to rescue programsKip Macy2009-05-231-1/+14
| | | | | | | | | PR: bin/125878 Submitted by: nork@ MFC after: 3 days Notes: svn path=/head/; revision=192617
* Libarchive is sprouting dependencies on libmd and libcrypto.Tim Kientzle2009-04-181-4/+4
| | | | | | | | | | | | Because crunchgen drops any repeated library (keeping only the first), the -lcrypto reference must be moved to after -larchive, not merely duplicated. I'm considering changing crunchgen's handling of duplicate libraries, but that's a rather more delicate issue. Notes: svn path=/head/; revision=191239
* *** empty log message ***Tim Kientzle2009-04-171-4/+4
| | | | Notes: svn path=/head/; revision=191227
* Remove if_ppp(4) and if_sl(4).Ed Schouten2009-04-051-1/+1
| | | | | | | | | | | | | | | | Not only did these two drivers depend on IFF_NEEDSGIANT, they were broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been replaced by ppp(8). There is no replacement for if_sl(4). If we see regressions in for example the ports tree, we should just use __FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are present. Version 800045 is used to denote the import of MPSAFE TTY. Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the lists. Notes: svn path=/head/; revision=190751
* Fix build when WITH_SSP is set explicitly.Ruslan Ermilov2009-02-212-3/+2
| | | | | | | Submitted by: Jeremie Le Hen Notes: svn path=/head/; revision=188895
* Take a moment to tidy some white space while I'm here. No functionalWarner Losh2008-09-131-10/+9
| | | | | | | changes for this commit. Notes: svn path=/head/; revision=183007
* We don't need pax and tar. These days tar is a strict superset ofWarner Losh2008-09-131-1/+1
| | | | | | | pax. Per discssuion on arch@ eliminate it. Notes: svn path=/head/; revision=183006
* pkill(1) first appeared in /usr/bin, but later it was moved to /binYaroslav Tykhiy2008-08-311-4/+2
| | | | | | | | | | for the convenience of rc.d. Now it has happily lived there for quite a while. So move the pkill(1) source files from usr.bin to bin, too. Approved by: gad Notes: svn path=/head/; revision=182543
* Enable GCC stack protection (aka Propolice) for userland:Ruslan Ermilov2008-06-252-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | - It is opt-out for now so as to give it maximum testing, but it may be turned opt-in for stable branches depending on the consensus. You can turn it off with WITHOUT_SSP. - WITHOUT_SSP was previously used to disable the build of GNU libssp. It is harmless to steal the knob as SSP symbols have been provided by libc for a long time, GNU libssp should not have been much used. - SSP is disabled in a few corners such as system bootstrap programs (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. - It should be safe to use -fstack-protector-all to build world, however libc will be automatically downgraded to -fstack-protector because it breaks rtld otherwise. - This option is unavailable on ia64. Enable GCC stack protection (aka Propolice) for kernel: - It is opt-out for now so as to give it maximum testing. - Do not compile your kernel with -fstack-protector-all, it won't work. Submitted by: Jeremie Le Hen <jeremie@le-hen.org> Notes: svn path=/head/; revision=180012
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedRobert Watson2008-05-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. MFC after: 3 weeks Reviewed by: bz Discussed with: bms, bz, harti Notes: svn path=/head/; revision=179308
* Adding glabel alias killed gpart alias; fix it.Ruslan Ermilov2008-03-291-2/+1
| | | | Notes: svn path=/head/; revision=177707
* Add an alias for glabel(8).Xin LI2008-03-051-0/+1
| | | | Notes: svn path=/head/; revision=176853
* o Build geom for all platforms.Marcel Moolenaar2007-11-041-6/+8
| | | | | | | | o Don't build bsdlabel for ia64. o Don't build fdisk and gpt for ia64. Notes: svn path=/head/; revision=173314
* Add some essential tools to rescue(8) in order to make itYaroslav Tykhiy2007-10-271-1/+10
| | | | | | | | | | | | | | | | | | | | | | | a versatile emergency tool: o sed(1) as a multi-purpose text filter -- can do grep's job and much more. o head(1), tail(1), and tee(1) as idiomatic text filters. o mt(1) to control tape drives (PR misc/98383). o chown(8) aka chgrp(8) to complement the ch* subset. o pkill(1) aka pgrep(1) to control running processes easily and thus to be able to recover from a serious problem or a fatal typo in an otherwise live system w/o a reboot. (It also deserves adding to rescue(8) for its having triggered a latent bug in crunchgen(1), but we had better add a regression test for that. :-) The resulting change in rescue(8) size has the following order of magnitude on i386: 3787656 - 3727872 = 59784, i.e. just a tad. Discussed on: -hackers (I seem to have wearied all opponents :-) PR: misc/98383 Notes: svn path=/head/; revision=173073
* Disconnect netatm from the build as it is not MPSAFE and relies onRobert Watson2007-07-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT, which will shortly be removed. This is done in a away that it may be easily reattached to the build before 7.1 if appropriate locking is added. Specifics: - Don't install netatm include files - Disconnect netatm command line management tools - Don't build libatm - Don't include ATM parts in rescue or sysinstall - Don't install sample configuration files and documents - Don't build kernel support as a module or in NOTES - Don't build netgraph wrapper nodes for netatm This removes the last remaining consumer of NET_NEEDS_GIANT. Reviewed by: harti Discussed with: bz, bms Approved by: re (kensmith) Notes: svn path=/head/; revision=171453