|
Mountie Light und Mountie für Enigma2 |
gutemine
Königsmörder

Registration Date: 23.09.2006
Posts: 24,535
Which box: DM 8000HD External Storage: CF Which Image: CVS
Thread Starter
 |
|
OK, ich komme im Moment mit dem NTFS nicht weiter, also probieren wir mal das label schreiben mit python aus, weil das lesen des labels scheint ja erstaunlicherweise zu funktionieren - nachdem keiner sich bis jetzt beklagt hat über Mountie Light !
Die Version 1.2 von Mountie Light am Anfang des Threads is jetzt noch kleiner, weil auch das tune2fs binary rausgeflogen ist und alles NUR mit python gemacht wird, dafür sollte der kit jetzt sogar aber wieder ext3, FAT16 und FAT32 auf der Dreambox labeln können !
Bitte testet das label schreiben nur mit USB sticks und USB disken aus wo nichts wichtiges drauf ist, weil solange es nicht ausgiebig getestet ist wissen wir NICHT ob Mountie beim labeln nicht das filesystem kaputt machen kann - schließlich schreibe ich da in den Partitionsheader ohne zu wissen was ich eigentlich tue (aber keine Angst es geht nur um die usb devices, eure IDE/SATA Harddisk ist sicher).
Aber wenn nicht mutige Leute es ausprobieren werden wir es nie erfahren ob es funktioniert.
Und mehr als das man den USB stick neu formatieren muss kann eigentlich auch wieder nicht passieren.
Also BITTE testet das ausgiebig und berichtet - bin schon gespannt !
Mir und Mountie liegt viel daran das zum Laufen zu kriegen und dafür brauche ich eben Eure Hilfe !
PS: Und der kit ist jetzt nur mehr reiner python code und kann daher auch in enigma2 images auf den PowerPC boxen getestet und benutzt werden !
LG
gutemine
__________________ Warnung des Gesundheitsministers, gutemine's Plugins können die Gesundheit Ihrer Dreambox beeinträchtigen ?
This post has been edited 8 time(s), it was last edited by gutemine: 20.05.2009 02:48.
|
|
20.05.2009 01:59 |
|
|
el_sasasa
Stammuser
 
Registration Date: 11.02.2009
Posts: 317
Which box: DM 500C; DM 600PVR-C; DM 800C External Storage: USB-Stick; HDD; CIFS Which Image: Gemini; PLi Origin: aus der schönen Schweiz
 |
|
salü!
version 1.2 läuft bis jetz tadeolls mit gp4.1 auf meiner 800er. fat32 wie ext3 label werden erkannt und richtig gemountet (und glücklicherweise bleib das filesystem intakt^^).
eine frage: könntest du die automatische erkennung/aktivierung des swaps einbauen?
mfg, el_sasasa
__________________ I'm just a Dreamer
|
|
20.05.2009 15:44 |
|
|
gutemine
Königsmörder

Registration Date: 23.09.2006
Posts: 24,535
Which box: DM 8000HD External Storage: CF Which Image: CVS
Thread Starter
 |
|
| quote: |
Original von el_sasasa
salü!
version 1.2 läuft bis jetz tadeolls mit gp4.1 auf meiner 800er. fat32 wie ext3 label werden erkannt und richtig gemountet (und glücklicherweise bleib das filesystem intakt^^).
eine frage: könntest du die automatische erkennung/aktivierung des swaps einbauen?
mfg, el_sasasa |
Na ja das label lesen macht mir auch weniger Sorgen, das schreiben des labels mit dem python code ist das was recht mutig ist und wo Ihr erst rausfinden müsst ob es funktioniert.
Und ja das kann ich Euch einbauen das wenn nach dem mounten ein swapfile drauf gefunden wird er dieses auch gleich benutzt.
LG
gutemine
__________________ Warnung des Gesundheitsministers, gutemine's Plugins können die Gesundheit Ihrer Dreambox beeinträchtigen ?
|
|
20.05.2009 18:52 |
|
|
dubious
User


Registration Date: 15.10.2004
Posts: 191
 |
|
Think we only need to deal with 1 device as they both induce the same error
Both devices were correctly recognised and mounted with Mountie
this a CF labled as cf
root@dm8000:/tmp# read_label.py /dev/scsi/host0/bus0/target0/lun1/part1
FAT32 Header: NO NAME
|
|
20.05.2009 19:32 |
|
|
gutemine
Königsmörder

Registration Date: 23.09.2006
Posts: 24,535
Which box: DM 8000HD External Storage: CF Which Image: CVS
Thread Starter
 |
|
OK, please try out the Version 1.3 of Mountie Light if at least the endless re-mounts stop when using it !
And then please post the output of the second read_label.py so that we find out where the cf label is hidden on your device.
Ciao
gutemine
__________________ Warnung des Gesundheitsministers, gutemine's Plugins können die Gesundheit Ihrer Dreambox beeinträchtigen ?
|
|
20.05.2009 20:01 |
|
|
dubious
User


Registration Date: 15.10.2004
Posts: 191
 |
|
LOL
wtf
root@dm8000:/tmp# read_label.py /dev/scsi/host0/bus0/target0/lun1/part1
¸NO NAME FAT32 3ÉѼô{ÁÙ½|NV@´A»ªUÍrûUªu
öÁtþFë-V@Ís¹ÿñf¶Æ@f¶Ñâ?÷âÍÀíAf·Éf÷áfFø~u8~*w2fFfÀ
»¹è+é,ú}´}ð¬
Àt< ´»Íëîû}ëåù}ëàÍÍf`~
fjfPSfh´BV@ôÍfXfXfXfXë3f;Førùë*f3Òf·Nf÷ñþ ÂÊfÐfÁê÷vÖV@èÀä
̸ÍfauÃf@IuÃBOOTMGR
Remove disks or other media.
Disk error
Press any key to restart
¬ËØUªRRaArrAaÚUª
FAT32 Header: NO NAME
The CF is now mounted as /media/noname without a space [no name]
|
|
20.05.2009 20:12 |
|
|
dubious
User


Registration Date: 15.10.2004
Posts: 191
 |
|
It's exactly the same 256MB Compact Flash that mounts ok with Mountie which was formated by the pc and labeled CF, nothing has changed !
root@dm8000:/tmp# tune2fs /dev/scsi/host0/bus0/target0/lun1/part1
tune2fs 1.40-WIP (14-Nov-2006)
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-g group]
[-i interval[d|m|w]] [-j] [-J journal_options]
[-l] [-s sparse_flag] [-m reserved_blocks_percent]
[-o [^]mount_options[,...]] [-r reserved_blocks_count]
[-u user] [-C mount_count] [-L volume_label] [-M last_mounted_dir]
[-O [^]feature[,...]] [-T last_check_time] [-U UUID] device
Somethings amiss here I think, btw I just extracted the tune2fs from the ipk and ran it from tmp, that ok ?
|
|
20.05.2009 21:01 |
|
|
dubious
User


Registration Date: 15.10.2004
Posts: 191
 |
|
Fat32, just gone back to Mountie, perfect
/dev/scsi/host0/bus0/target0/lun1/part1 on /media/cf type vfat
|
|
20.05.2009 21:47 |
|
|
gutemine
Königsmörder

Registration Date: 23.09.2006
Posts: 24,535
Which box: DM 8000HD External Storage: CF Which Image: CVS
Thread Starter
 |
|
Mountie uses well known and tested binaries for doing the device labeling - but it needs 3 different ones (one for FAT, one for ext3 and one for NTFS) and also lots of libs to make them work. Which makes the classic Mountie kit pretty bigh and not easy for example to be installed in Flash.
Making this approach standard in all images would be impossible due to this patchwork and sheer size of kit - but the main goal of Mountie was not ro provide good code (too many os.system and os.popen in the code to be proud off), the Goal was only to show how I would like to have my Mounting done !
Mountie Light has a different goal - it should proove that it is possible to get rid of all these extra labeling binaries and do all the work with only a little python code - no need for complex things like automount, udev, /dev/discs links, etc.
And it was a personall challenge for me if I would be able to achieve this goal without any real knowledge about device partitions, filesystem headers, etc....
BUT such an approach is a little bit heretic, and during my research I have not found something comperable, especially simple and completely in python - so I created one myself - the original read_label.py I posted for standalone testing which then simply was planted into the standard Mountie code als labeling binaries replacement
This simplicity has off course the tradeoff that I DO NOT KNOW if the filesystemlabels of the supprted filesystems (FAT/FAT32 and ext2/3) are really that simple
BUT if enough people like you give it a try and find out the cases which do not (yet) work we maybe could even make this approach fully working and usable for our dreamboxes.
My vision is pretty simple - add the code to label a device during initialization already to enigma2 and make Mountie a simple configurable enigma2 option (mount labeled devices with label) and you have a solution which could be checked into CVS and become standard in all images with less then 1 page of code total.
Maybe this is just a Dream - BUT I like to create visions and at the same time to proove that they are achievable - which is the reason why I started the whole project.
Actually I don't like creating plugins at all, I like to proove and/or invent things - if somebody needs to code it to achive this goal - I simply don't wait until this guy shows up :-)
PS: and to answer your question - I don't know why he disliked the label you had before and after re-labeling accepted it - but we can investigate and research and have fun by doing so - and I like to share my fun with others.
Ciao
gutemine
__________________ Warnung des Gesundheitsministers, gutemine's Plugins können die Gesundheit Ihrer Dreambox beeinträchtigen ?
This post has been edited 3 time(s), it was last edited by gutemine: 20.05.2009 23:59.
|
|
20.05.2009 23:37 |
|
|
dubious
User


Registration Date: 15.10.2004
Posts: 191
 |
|
@gutemine
Thanks for the explanation. I for one very much appreciate your contribution to the Dreambox community.
I use several of your plugins which enhances greatly my Dreambox experience, long may you continue with your visions and enthusiasm.
I for one am truly greatfull to you and your peers.
best regards
|
|
21.05.2009 01:04 |
|
|
|
|
|
 |
|