10-19-2011
I have UFS unfortunately.
Can you point me to any documents on how to do a live upgrade on UFS filesystems? I did ZFS once before that was easy. I'm not sure about UFS tho.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there another location to update a cron that's run daily. I have updated the root cron located "/var/spool/cron/crontabs " After the update the cron doesn't run at the new time it was set at. It continues to run at the old time. Checking the root cron after it has been updated show the... (3 Replies)
Discussion started by: ddrivera
3 Replies
2. Shell Programming and Scripting
Is there anyway to get rsync to also modify the date modified details of the files it has updated? It would be useful to easily check that the rysnc has performed as expected.. (4 Replies)
Discussion started by: timgolding
4 Replies
3. Shell Programming and Scripting
Hi All,
I spent the whole morning trying to create a shell script ( using "sed" command ) that looks for a value in a directory and its sub directory than changes it with another value but couldn't find the way :(
a first step, allowded me to trace all the files that contain it and even... (2 Replies)
Discussion started by: mehdi1973
2 Replies
4. Programming
Dear mates,
imagine a table with only one column and 10 rows containing 5 yahoo.de and 5 gmail.com email addressess.
mail1@yahoo.de
mail2@yahoo.de
mail3@yahoo.de
mail4@yahoo.de
mail5@yahoo.de
mail1@gmail.com
mail2@gmail.com
mail3@gmail.com
mail4@gmail.com
mail5@gmail.com
How could I... (2 Replies)
Discussion started by: pseudocoder
2 Replies
5. AIX
Hi,
I want to update managed system firmware using HMC.
The easiest way to me is to download firmware directly to HMC hard disk. Question:
Where shoud I put downloaded firmware in HMC hard disk ? - selection says "Hard disk" - no path no anything.
thanks
Vilius M. (0 Replies)
Discussion started by: vilius
0 Replies
6. Post Here to Contact Site Administrators and Moderators
7 out of 8 links in one of the two Solaris Sticky threads are dead:
https://www.unix.com/solaris/17943-sunos-solaris-links.html
Could a moderator update them or unlock the thread to allow contributors to provide up to date replacement links ? (3 Replies)
Discussion started by: jlliagre
3 Replies
7. Solaris
hello everyone,
Could someone explain me, what does mean "is logging" when the system boots up:
/dev/rdsk/c0t0d0s1: is logging
What is the purpose of doing this procedure?
And why only certain slices are being processed. Is there any settings fo that?
thanks in advance (9 Replies)
Discussion started by: wolfgang
9 Replies
LEARN ABOUT FREEBSD
cgread1
CGREAD(3) BSD Library Functions Manual CGREAD(3)
NAME
cgread, cgread1, cgwrite1 -- read/write cylinder groups of UFS disks
LIBRARY
UFS File System Access Library (libufs, -lufs)
SYNOPSIS
#include <sys/param.h>
#include <sys/mount.h>
#include <ufs/ufs/ufsmount.h>
#include <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h>
#include <libufs.h>
int
cgread(struct uufsd *disk);
int
cgread1(struct uufsd *disk, int c);
int
cgwrite1(struct uufsd *disk, int c);
DESCRIPTION
The cgread() and cgread1() functions provide cylinder group reads for libufs(3) consumers. The cgread1() function reads from one cylinder
group, specified by c into the d_cg field of a userland UFS disk structure. It sets the d_lcg field to the cylinder group number c.
The cgread() function operates on sequential cylinder groups. Calling the cgread() function is equivalent to calling cgread1() with a cylin-
der group specifier equivalent to the value of the current d_ccg field, and then incrementing the d_ccg field.
The cgwrite1() function stores cylinder group specified by c from d_cg field of a userland UFS disk structure on disk.
RETURN VALUES
Both functions return 0 if there are no more cylinder groups to read, 1 if there are more cylinder groups, and -1 on error.
ERRORS
The function cgread() may fail and set errno for any of the errors specified for the library function bread(3).
The function cgread1() has semantically identical failure conditions to those of cgread().
The function cgwrite1() may fail and set errno for any of the errors specified for the library function bwrite(3).
SEE ALSO
bread(3), bwrite(3), libufs(3)
HISTORY
These functions first appeared as part of libufs(3) in FreeBSD 5.1.
AUTHORS
Juli Mallett <jmallett@FreeBSD.org>
BSD
June 4, 2003 BSD