Brows­ing the pen drive par­ti­tion

OpenSource For You - - DEVELOPERS LET’S TRY -

Ob­vi­ously, there were slight mod­i­fi­ca­tions to the browse_sfs.c ap­pli­ca­tion as well, in line with the changes to for­mat_sfs.c. The ma­jor one was to com­pul­so­rily take the par­ti­tion de­vice file to browse as a com­mand-line ar­gu­ment, in­stead of brows­ing the de­fault reg­u­lar file .sfsf.

All the updated files ( sf­s_ds.h, for­mat_sfs.c, browse_sfs.c and 0ake­fiOe) are avail­able at http://lin­ux­foru.com/ar­ti­cle_ source_­code/aug12/rf­s_­code.tar.bz2.

Fig­ure 2 shows the browser in ac­tion. How­ever, the coolest brows­ing would be done the same way as with all other file sys­tems, us­ing the shell com­mands cd, ls, … Yes, and for that, we would need the SFS mod­ule in place. Keep fol­low­ing what Pugs is up to, to get that in place.

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.