Pages

Thursday, March 1, 2012

Access Ext2 file system in windows

The software provides Windows NT4.0/2000/XP/2003/Vista/2008 with full access to Linux Ext2 volumes (read access and write access). This may be useful if you have installed both Windows and Linux as a dual boot environment on your computer

If you currently have Windows running and you realize that you need some files for your work which you have stored on an Ext2 volume of your Linux installation, you no longer have to shut down Windows and boot Linux!

Furthermore, Windows will now be able to handle floppy disks which have been formatted with an Ext2 file system.

how it works

It installs a pure kernel mode file system driver Ext2fs.sys, which actually extends the Windows operating system to include the Ext2 file system. Since it is executed on the same software layer at the Windows NT operating system core like all of the native file system drivers of Windows (for instance NTFS, FASTFAT, or CDFS for Joliet/ISO CD-ROMs), all applications can access directly to Ext2 volumes. Ext2 volumes get drive letters (for instance O:). Files, and directories of an Ext2 volume appear in file dialogs of all applications. There is no need to copy files from or to Ext2 volumes in order to work with them.

Download it here

http://dl.dropbox.com/u/30579529/Ext2IFS_1_11a.exe

Monday, February 27, 2012

Installing Pakages rpm ang tar

RPM

rpm -iUhv <pkgname>.rpm

rpm -F <pkgname>.rpm
rpm -e <pkgname>.rpm
rpm -l <pkgname>.rpm

i...install

U...update

h...Print  50  hash marks as the package archive is unpacked

v...print normally routine progress messages

F...Fresh install

e...erase install

l...listing details

 

tar -xvzf package_name.tar.gz

x= extract v=verbose z=(un)compress f=file

tar -jxvf package_name.tar.bz2

j=bzip2

 

 

CHANGING FILE PERMISSIONS

Changing the permissions can be done with names and numbers, I like the numbers

chmod 754  test.txt

Here is why:
4=read 2=write 1=execute.
The three numbers in the chmod above are for the

"user" ( the first number ),

"group" ( the second number ) and

"others" ( the third number )

So if I want to give the user all permissions: 4+2+1=7
and i give the group read an execute permissions: 4+1=5
and all others only read permission 4=4

chmod takes either the decimal representation of the permissions or a symbolic representation.

The symbolic representation is [ugoa][+-][rwx]. This is one of the letters

u  (user=file owner),

g  (group), o(others),

a   (all=u and g and o) followed by + or - to add or remove permissions and then the symbolic      representation of the permissions in the form of

r   (read)

w   (write)

x   (execute).

To make the file "file.txt" writable for all you type: "chmod a+w  file.txt"