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 FREEBSD
gshsec
GSHSEC(8) BSD System Manager's Manual GSHSEC(8)
NAME
gshsec -- control utility for shared secret devices
SYNOPSIS
gshsec label [-hv] name prov prov ...
gshsec stop [-fv] name ...
gshsec clear [-v] prov ...
gshsec dump prov ...
gshsec list
gshsec status
gshsec load
gshsec unload
DESCRIPTION
The gshsec utility is used for setting up a device which contains a shared secret. The secret is shared between the given providers. To
collect the secret, all providers are needed. If one of the components is missing, there is no way to get any useful data from the rest of
them. The first argument to gshsec indicates an action to be performed:
label Set up a shared secret device from the given components with the specified name. Metadata are stored in the last sector of every
component.
stop Turn off an existing shared secret device by its name. This command does not touch on-disk metadata!
clear Clear metadata on the given providers.
dump Dump metadata stored on the given providers.
list See geom(8).
status See geom(8).
load See geom(8).
unload See geom(8).
Additional options:
-f Force the removal of the specified shared secret device.
-h Hardcode providers' names in metadata.
-v Be more verbose.
EXIT STATUS
Exit status is 0 on success, and 1 if the command fails.
EXAMPLES
The following example shows how to create a shared secret device. The secret will be split between a slice on a local disk and a USB Pen
drive.
gshsec label -v secret /dev/ada0s1 /dev/da0
newfs /dev/shsec/secret
From now on, when the USB Pen drive is inserted, it will be automatically detected and connected, making the secret available via the
/dev/shsec/secret device.
SEE ALSO
geom(4), gbde(8), geom(8), newfs(8)
HISTORY
The gshsec utility appeared in FreeBSD 5.4.
AUTHORS
Pawel Jakub Dawidek <pjd@FreeBSD.org>
BSD
October 1, 2013 BSD