01-25-2007
Yes, you did.
You need to label the disk after making changes.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, all you unix people. I am a pretty advanced windows user, but I am curious about unix. Is there any reason I should attempt to acquire some form of unix for my home computer system? What sort of things is unix useful for? Unix is open source, right? Assuming that to be the case, I infer that... (3 Replies)
Discussion started by: BoneMalone
3 Replies
2. Shell Programming and Scripting
I think my script is working but i am trying to understand while I am tracing to see if it's realli working..
can somebody please comment.. also. is there different way to write this in shell?
sh -x findbiggestnum 1 2 3
+
big=0
+
big=1
+
big=2
+
big=3
+ echo 3
3
big=0
... (3 Replies)
Discussion started by: hankooknara
3 Replies
3. UNIX for Dummies Questions & Answers
Hello everybody;
I am new to unix.
Thanks for creating such a informative forum,
I wanted to know that how can i list top 10 files in my current dir. which were accesed recently by using ls command.
Thank You. (4 Replies)
Discussion started by: satish_1983
4 Replies
4. Shell Programming and Scripting
Hi all, I am needing a bash shell script to generate a list of the top 5 users using the most disk space. I am thinking that the du command would be used somehow but I am at a loss. Can anyone help? Thanks! (3 Replies)
Discussion started by: sytemx
3 Replies
5. UNIX for Dummies Questions & Answers
if i am in /tmp file, and i have a few DIRs under /tmp. i want to find the biggest and most recent files (from 7 days ago) in /tmp and subfolders. (3 Replies)
Discussion started by: tjmannonline
3 Replies
6. Shell Programming and Scripting
Hi ,
I need to get a list of name and size , of the the top 5 biggest file under the
current directory , in decending order
Thank You (4 Replies)
Discussion started by: yoavbe
4 Replies
7. HP-UX
Hi!
I'm using Unix HP
I'm looking for a command which find the 20 (less or more) biggest files on / but which exclude every other files system
Thanks;) (7 Replies)
Discussion started by: Castelior
7 Replies
8. UNIX for Dummies Questions & Answers
Hello, can you please help me writing a command that would output the biggest files on my system from biggest to smallest? I want this to print only the files, not the directories.
I have tried
du -a ~ | sort -nr | head -10
However, this also prints out all the directories - which I do... (8 Replies)
Discussion started by: tonydaniels1980
8 Replies
9. Shell Programming and Scripting
# fdisk -l /dev/sda
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk... (9 Replies)
Discussion started by: yanglei_fage
9 Replies
10. Shell Programming and Scripting
please help,
file1.txt
id,week,ict,outgoing_call,blackberry_problem,gprs_problem,sms_problem,flash_problem,sinyal_lemah,blankspot,incoming_call,mms_problem,kualitas_suara,drop_call,data_probl
em,cross_connect,connect_no_voice,vas_problem
,1,sumbagsel,96,127,52,70,28,29,21,18,18,8,5,3,0,0,3... (1 Reply)
Discussion started by: radius
1 Replies
LEARN ABOUT NETBSD
mbrlabel
MBRLABEL(8) BSD System Manager's Manual MBRLABEL(8)
NAME
mbrlabel -- update disk label from MBR label(s)
SYNOPSIS
mbrlabel [-fqrw] [-s sector] device
DESCRIPTION
mbrlabel is used to update a NetBSD disk label from the Master Boot Record (MBR) label(s) found on disks that were previously used on
DOS/Windows systems (or other MBR using systems).
mbrlabel scans the MBR contained in the very first block of the disk (or the block specified through the -s flag), then walks through every
extended partition found and generates additional partition entries for the disk from the MBRs found in those extended partitions.
Each MBR partition which does not have an equivalent partition in the disk label (equivalent in having the same size and offset) is added to
the first free partition slot in the disk label. A free partition slot is defined as one with an fstype of 'unused' and a size of zero
('0'). If there are not enough free slots in the disk label, a warning will be issued.
The raw partition (typically partition c, but d on i386 and some other platforms) is left alone during this process.
By default, the proposed changed disk label will be displayed and no disk label update will occur.
Available options:
-f Force an update, even if there has been no change.
-q Performs operations in a quiet fashion.
-r In conjunction with -w, also update the on-disk label.
-s sector Specifies the logical sector number that has to be read from the disk in order to find the MBR. Useful if the disk has remapping
drivers on it and the MBR is located in a non-standard place. Defaults to 0.
-w Update the in-core label if it has been changed. See also -r.
SEE ALSO
disklabel(8), dkctl(8), fdisk(8), mbr(8)
HISTORY
The mbrlabel command appeared in NetBSD 1.4.
BSD
April 5, 2010 BSD