9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wan't to remove last 5 and 10 days files from two directory and send the remove files list in mail
Output send through mail
find /kalia/cd/ -type f -mtime +5 exec rm {} \;
find /kalia/uk/ -type f -mtome +10 exec rm {} \;
Output send through mail
File has been deleted
... (1 Reply)
Discussion started by: Kalia
1 Replies
2. UNIX for Dummies Questions & Answers
Okay, I need some nerd magic here! LOL!
Using a bash script, I have a folder that I'd like to remove upon uninstalling a package. That part is simple but what isn't simple is taking into consideration a 'reinstall' or 'upgrade' of that same package.
By default, 'reinstalling' or 'upgrading'... (8 Replies)
Discussion started by: thazsar
8 Replies
3. Ubuntu
I have Ubunut installed on my desktop
AMD 6 Core 3.2 (will be getting the bulldozer AMD 8 Core when it releases)
16 GB of DDR3 1333 RAM
SSD
some HDD's
Nvidia 560 ti 1GB
My question is, how can I or can I even get a Win 7 VM to play games as well in a main install. Give it 10 GBs of RAM... (0 Replies)
Discussion started by: ochieman2000
0 Replies
4. Shell Programming and Scripting
While sending mails using sendmail, the domain name is getting appended to the from id. My requirement is not to have that domain name in the From mail id. Could anyone help me on this? I am using the below command:
cat t|/usr/lib/sendmail -f"Admin" user1@domain1.com (0 Replies)
Discussion started by: skar_a
0 Replies
5. UNIX for Dummies Questions & Answers
which better freebsd and netbsd for server unix (0 Replies)
Discussion started by: salehudinayubi
0 Replies
6. BSD
i have install netbsd but don't have gui?what happen?i want to a mount external usb hard drive but failure?what should i do? (5 Replies)
Discussion started by: ibnusina202003
5 Replies
7. Solaris
Hello,
I'm working on a Solaris 9/Sparc machine and it has the Solaris 10 version of Perl (5.8.8) installed on it, which always requires all kinds of library files that Solaris 9 doesn't come with. I think the best way to do is to uninstall this wrong version and install the correct Solaris 9... (1 Reply)
Discussion started by: alanlh
1 Replies
8. UNIX for Dummies Questions & Answers
How safe is it to remove these spooler mail files.
I need to make some room in the /usr directory?
Any ideas?
thanks (2 Replies)
Discussion started by: larcom61
2 Replies
9. UNIX Desktop Questions & Answers
Hi I have NetBSD and i am having a trouble Starting X. It keeps asking me for the config file and I run the text confing file but it messes up. I really want to be able to run the Graphical Setup. I read about the Graphical setup from a book but they didn't tell how to start it. help please!? (9 Replies)
Discussion started by: vertigo
9 Replies
BOOT(8) BSD System Manager's Manual BOOT(8)
NAME
boot -- system bootstrapping procedures
DESCRIPTION
This document provides information on using common features in the NetBSD boot loader. Additional information may be found in architecture-
specific boot(8) manual pages.
In the native NetBSD boot protocol, options are passed from the boot loader to the kernel via flag bits in the boothowto variable (see
boothowto(9)).
Interactive mode
In interactive mode, the boot loader will present a prompt, allowing input of these commands:
boot [device:] [filename] [-1234abcdmqsvxz]
The default device will be set to the disk that the boot loader was loaded from. To boot from an alternate disk, the full name of
the device should be given at the prompt. device is of the form xd [N[x]] where xd is the device from which to boot, N is the unit
number, and x is the partition letter.
The following list of supported devices may vary from installation to installation:
hd Hard disks.
fd Floppy drives.
The default filename is netbsd; if the boot loader fails to successfully open that image, it then tries netbsd.gz (expected to be a
kernel image compressed by gzip), followed by netbsd.old, netbsd.old.gz, onetbsd, and finally onetbsd.gz. Alternate system images
can be loaded by just specifying the name of the image.
Options are:
-1 Sets the machine-dependent flag RB_MD1 in boothowto.
-2 Sets the machine-dependent flag RB_MD2 in boothowto.
-3 Sets the machine-dependent flag RB_MD3 in boothowto.
-4 Sets the machine-dependent flag RB_MD4 in boothowto.
-a Sets the RB_ASKNAME flag in boothowto. This causes the kernel to prompt for the root file system device, the system crash
dump device, and the path to init(8).
-b Sets the RB_HALT flag in boothowto. This causes subsequent reboot attempts to halt instead of rebooting.
-c Sets the RB_USERCONF flag in boothowto. This causes the kernel to enter the userconf(4) device configuration manager as soon
as possible during the boot. userconf(4) allows devices to be enabled or disabled, and allows device locators (such as hard-
ware addresses or bus numbers) to be modified before the kernel attempts to attach the devices.
-d Sets the RB_KDB flag in boothowto. Requests the kernel to enter debug mode, in which it waits for a connection from a kernel
debugger; see ddb(4).
-m Sets the RB_MINIROOT flag in boothowto. Informs the kernel that a mini-root file system is present in memory.
-q Sets the AB_QUIET flag in boothowto. Boot the system in quiet mode.
-s Sets the RB_SINGLE flag in boothowto. Boot the system in single-user mode.
-v Sets the AB_VERBOSE flag in boothowto. Boot the system in verbose mode.
-x Sets the AB_DEBUG flag in boothowto. Boot the system with debug messages enabled.
-z Sets the AB_SILENT flag in boothowto. Boot the system in silent mode.
consdev dev
Immediately switch the console to the specified device dev and reprint the banner. dev must be one of pc, com0, com1, com2, com3,
com0kbd, com1kbd, com2kbd, com3kbd, or auto. See Console Selection Policy in boot_console(8).
dev [device]
Set the default drive and partition for subsequent filesystem operations. Without an argument, print the current setting. device
is of the form specified in boot.
help Print an overview about commands and arguments.
ls [path]
Print a directory listing of path, containing inode number, filename, and file type. path can contain a device specification.
quit Reboot the system.
In an emergency, the bootstrap methods described in the NetBSD installation notes for the specific architecture can be used.
FILES
/boot boot program code loaded by the primary bootstrap
/netbsd system code
/netbsd.gz gzip-compressed system code
/usr/mdec/boot master copy of the boot program (copy to /boot)
/usr/mdec/bootxx_fstype primary bootstrap for filesystem type fstype, copied to the start of the NetBSD partition by installboot(8).
SEE ALSO
Architecture-specific boot(8) manual pages, ddb(4), userconf(4), halt(8), installboot(8), reboot(8), rescue(8), shutdown(8), boothowto(9)
BUGS
The kernel file name must be specified before, not after, the boot options. Any filename specified after the boot options, e.g.:
boot -d netbsd.test
is ignored, and the default kernel is booted.
BSD
September 4, 2009 BSD