TivoWeb Gone!!

General Discussion

Re: TivoWeb Gone!!

Postby mikerr » Wed Jul 13, 2011 10:03 am

Disk capacity is usually nearly the same as hours at basic on system information: if it says 500 hours at basic, 500GB drive.
mikerr
TiVo lover
TiVo lover
 
Posts: 191
Joined: Tue Feb 15, 2011 5:06 pm

Re: TivoWeb Gone!!

Postby mrtickle » Wed Jul 13, 2011 12:09 pm

mikerr wrote:Never understood why it wasn't just in the alias itself, no need for external scripts,


Can you have more than one command in an alias? The scripts allow for the echo confirmation to remind you what you've done. I will often only run "rw" just before editing rc.systinit.author in joe. When I exit joe, I go back to the bash screen with that text, which reminds me I need to make it ro again :)
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Re: TivoWeb Gone!!

Postby Rachel » Wed Jul 13, 2011 1:41 pm

mikerr wrote:Never understood why it wasn't just in the alias itself, no need for external scripts,
that's how my preconfigured drives have always been setup (and the way Install hack does it).

True but I have other scripts in there apart from just those 2 ;)

Plus as mrtickle says you do get a nice fluffy message rather than just silently being dumped back at the bash prompt.
Rachel
Valued Contributor
Valued Contributor
 
Posts: 244
Joined: Sat Feb 19, 2011 9:32 am

Re: TivoWeb Gone!!

Postby Rachel » Wed Jul 13, 2011 2:01 pm

pemills wrote:Thanks guy's that certainly worked, if I use the Alias command does that get written somewhere to be used again or do I have to send the same command again if I need to set the disk to read/write or read only?

It's only kept for the duration of the current login unless you put it in a .bash_profile file as I said above.

pemills wrote:and do I need to set the drive to read only when finished, what the downside if I don't?

There's a small risk that something could happen on closedown that trashes the root directory and makes your Tivo unusable.

pemills wrote:One further question is how can you determine the size of a disk installed without opening up the case and physically checking what is written on the disk

Code: Select all
hdparm -g /dev/hda

Will tell you the number of sectors, take this and divide by 2048 will give you the formatted disc size in MB.

(Or "hdparm -i /dev/hda" will tell you the disc model number ;) )
Rachel
Valued Contributor
Valued Contributor
 
Posts: 244
Joined: Sat Feb 19, 2011 9:32 am

Re: TivoWeb Gone!!

Postby pemills » Wed Jul 13, 2011 6:03 pm

That's a great way of checking the disk size, thanks, such a lot to learn!! I must start making a note of all these commands :wink:
Peter

Tinkering with TiVo's since 2000, now have 8 lifetime sub S1 TiVo's in various states of upgrade/hacked condition & 4 non-lifetime sub TiVo's, too boring to list all the details but most have upgraded HD's & network cards
pemills
TiVo lover
TiVo lover
 
Posts: 91
Joined: Fri Feb 18, 2011 10:54 am
Location: Norfolk, UK

Re: TivoWeb Gone!!

Postby mrtickle » Wed Jul 13, 2011 7:37 pm

The Info+ module for Tivoweb (1.9.4) contains a dump of hdparm output too. Not sure how ubiquitous it is, but I've had it for ages.
Code: Select all
File System/Disc Information
Mounted File Systems:
/dev/hda4 on / type ext2 (ro)
/dev/hda9 on /var type ext2 (rw)
/proc on /proc type proc (rw)
Filesystem    Type    Size  Used  Avail  Capacity Mounted on
/dev/hda4     ext2    124M   44M    74M     37%   /
/dev/hda9     ext2    124M   30M    88M     25%   /var
/dev/hda:
 multcount    =  0 (off)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 16383/16/63, sectors = 488397168, start = 0

smartctl version 5.1-9 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG HA250JC
Serial Number:    S094J10A139380
Firmware Version: WE100-34
ATA Version is:   7
ATA Standard is:  Unrecognized. Minor revision code: 0x21
Local Time is:    Wed Jul 13 19:35:43 2011 localtime
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 77 guests

cron