Sponsored Content
Full Discussion: Critical lib renamed
Top Forums UNIX for Advanced & Expert Users Critical lib renamed Post 302460694 by remi75 on Thursday 7th of October 2010 10:48:25 AM
Old 10-07-2010
Quote:
Originally Posted by jlliagre
Not only Gnu/Linux but almost all other Unix and Unix like implementations use .so for shared objects and .a for statically linked archives. AIX doesn't follow that convention.
What you might do to fix your problem is put that libcrypt.a file on some removable media like a USB key or drive, or a CD/DVD and use the LIBPATH trick. Alternatively, just put a statically linked mv command there and you are done.

One remaining issue would be the mount might fail because of that missing library ...
you'r right ... the mount is dead too Smilie ahhh i wish there were some statics on that machine ....
thnx for your time

---------- Post updated at 04:48 PM ---------- Previous update was at 04:42 PM ----------

just a note, I think with the prices of the disks today, all crucial binaries should be static,
yes i know i just didnt have to do that ... but bash knows, it might happend to someoneelse otherhow ...
could be a good idea for distros used by paraniods ... a packages of those bins -static version .
until then, i ll do it on my servers,
because talking about other reasons, if a hard disk sector fails, and that sector is used by a lib ... we will have the same issue .. currupted fs ... etc

Last edited by remi75; 10-07-2010 at 12:01 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what is Critical section is all about?

what is a critical section?why multipleprocesses or multiplethreads cant be given a chance to access the critical section? please explain me with an example. thanks (3 Replies)
Discussion started by: compbug
3 Replies

2. Shell Programming and Scripting

Very Critical

We have a batch job which runs and checks for certain files on a server and retrieves them to our server. But from last few hours the job is not running correctly. It gives msg file now found when there are files present on the server.. Nothing has been changed.................. (1 Reply)
Discussion started by: shikhakaul
1 Replies

3. Shell Programming and Scripting

duplicate index names renamed

Hello everyone ! Please have a minute and see if you know how to script this I have a file like this: "create table .... ... create index n112 on ... ... create table ... .... create index n113 on... ... create table ... create index n112 on ...! duplicate ... (1 Reply)
Discussion started by: sotoc79
1 Replies

4. Shell Programming and Scripting

rsync - update file on backup when file renamed on source

hi all, Please help me with rsync. I configured rsync to preserve timestamps using the -a option. When i renamed fileA to fileB on source machine I have to copies at the backup server. The aim is to keep the most recent file. fileA & fileB has same contents. When i renamed fileB to... (2 Replies)
Discussion started by: coolatt
2 Replies

5. Red Hat

ls: /lib/libattr.so.1: no version information available (required by /lib/libacl.so.1)

Hello, I'm experimenting a problem on my rh server. Red Hat Enterprise Linux AS release 3 (Taroon Update 8) 2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux It started with a segmentation fault on #id root To resolve it, I've installed coreutils-4.5.3-28.4.i386.rpm But, I... (6 Replies)
Discussion started by: gogol_bordello
6 Replies

6. Solaris

Renamed lib directory by mistake

Let's say someone accidentally renamed the lib directory in Solaris 8, and now they cannot get into the terminal or even rename the folder via file manager.What would one do? (37 Replies)
Discussion started by: jetjaguar
37 Replies

7. UNIX for Advanced & Expert Users

Mistakenly renamed libdl.so: system got corrupted

Hi, I am using Ubuntu 8.04 64-bit (Hardy Heron LTS Desktop edition) OS on a 64-bit intel hardware (x86_64). I have wrongly renamed the /lib64/libdl-2.7.so shared library file and now hardly few commands are working. My Gnome UI display has gone and I could not establish any new connection via... (12 Replies)
Discussion started by: royalibrahim
12 Replies

8. Shell Programming and Scripting

who renamed my executable

Hi All, I connected via rlogin in testing environment (ksh ) and placed an executable with -rwxr-xr-x permission. eg: from my own unix box used : rlogin host -l user But the exe was renamed by somebody. since it's only renaming none of the access time , modification time etc is altered.... (2 Replies)
Discussion started by: blackcat
2 Replies

9. Shell Programming and Scripting

Renaming file and check for the renamed file existence

Hi Am trying to move a file from one name to another When I do "ls" to check for the moved filename I can see the file but when I try the same with a script am unable.. I think am doing some pretty silly error.. please help.. toMove=`ls | grep -E "partition.+"` mv $toMove partition._org... (7 Replies)
Discussion started by: Priya Amaresh
7 Replies

10. Ubuntu

Renamed Volume Group name on Webmin while running samba server (oops)

Hi...I'm new to Linux and was working on a home server. I have it operational with Samba Share as my NAS system. Unfortunately, while I was on Webmin I changed the Logical Volume Group Name and now I can't find the data I had saved on my Samba Server. Can anyone help me recover those files? ... (0 Replies)
Discussion started by: pangil
0 Replies
ufiformat(8)						      System Manager's Manual						      ufiformat(8)

NAME
ufiformat - Format a USB floppy disk. SYNOPSIS
ufiformat [ -hiqvV ] [ -f|--format [size]] [ devicepath ] OPTIONS
-f, --format [size] Specify format capacity SIZE in KB. Without -f option, the format of the current media will be used. -V, --verify Verify the medium after formatting. Only meaningful without -i option. -F, --force Do not perform any safety checks. -i, --inquire Show device information, instead of performing format. Without devicepath argument, list all USB floppy disk devices attached to the system. -v, --verbose Be verbose. -q, --quiet Suppress minor diagnostics. -h, --help Show help message. DESCRIPTION
ufiformat is a raw level formatting disk utility for USB floppy devices. Raw level format is to write gap,index,sectors to the unformatted disk using special commands specific to the disk controller, to make the plain magneto-sensitive film into sector-addressable medium. Note that raw level format is NOT about creating filesystems (fs(5)) on the disk. After mid-1990's, floppy disks are sold generally pre-formatted in MS-DOS 2HD format: 80 cylinder, 2 heads, 18 sectors/track, 512 bytes/sector; it is seldom in need for raw formatting. Nevertheless raw formatting could cure some disk and drive mismatchings. WARNING: You will NOT raw format an LS-120 disks or (removable) hard disks; they are precision formatted in factory and cannot be raw reformatted. ufiformat supports only the following format capacities: 1440/1232/1200 (for 2HD disk) 720/640 (for 2DD disk) The device should support the capacities also, otherwise ufiformat shows an error message. The above format capacities are predefined in the program, but each USB floppy device also has a limited set of formats (defined internally) that it can format media to. The allowed format capacities are obtained by querying (-i) the device, but this only returns the total format capacity and not CHS (cylinder, heads and sectors), hence a mapping is required in the program. EXAMPLES
Inquiry the device for available format: # modprobe sg # ufiformat -i /dev/sda vendor: Y-E DATA product: USB-FDU write protect: off media type: 2HD status block size kb formatted 2880 512 1440 formattable 2880 512 1440 formattable 1232 1024 1232 formattable 2400 512 1200 Format the floppy disk in 1.44MB, and create a FAT filesystem: # ufiformat -f 1440 /dev/sda # mkdosfs -I /dev/sda PREREQUISTES
ufiformat needs /dev/sg* SCSI pass-thru device to operate. If the device does not exist, add the driver by invoking modprobe sg. You often need to be root to do anything with /dev/sd*. SEE ALSO
fdformat(8), floppy(8), sg(4) "Universal Serial Bus Mass Storage Class - UFI Command Specification" Revision 1.0 December 14 1998 http://www.usb.org/developers/devclass_docs/usbmass-ufi10.pdf ufiformat(8)
All times are GMT -4. The time now is 02:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy